summaryrefslogtreecommitdiff
path: root/spec/unit/type/whit_spec.rb
blob: 73498e55d513d8397cc6ef6cd257d81c2dff2161 (plain)
1
2
3
4
5
6
7
8
9
10
#! /usr/bin/env ruby
require 'spec_helper'

whit = Puppet::Type.type(:whit)

describe whit do
  it "should stringify in a way that users will regognise" do
    whit.new(:name => "Foo::Bar").to_s.should == "Foo::Bar"
  end
end