summaryrefslogtreecommitdiffstats
path: root/spec/unit/type/whit_spec.rb
blob: cc5365ed68ca13f4bdb7b36cf53dddb43f94b3f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env ruby

require 'spec_helper'

whit = Puppet::Type.type(:whit).new(:name => "Foo::Bar")

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