Sha256: bfc349bf0175a4e89b658724ec5f35c9d327652af5301cb3b82061f815a1dd80

Contents?: true

Size: 272 Bytes

Versions: 17

Compression:

Stored size: 272 Bytes

Contents

#!/usr/bin/env ruby

require File.dirname(__FILE__) + '/../../spec_helper'

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

describe whit do
  it "should stringify as though it were the class it represents" do
    whit.to_s.should == "Class[Foo::Bar]"
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
puppet-2.6.18 spec/unit/type/whit_spec.rb
puppet-2.6.17 spec/unit/type/whit_spec.rb
puppet-2.6.16 spec/unit/type/whit_spec.rb
puppet-2.6.15 spec/unit/type/whit_spec.rb
puppet-2.6.14 spec/unit/type/whit_spec.rb
puppet-2.6.13 spec/unit/type/whit_spec.rb
puppet-2.6.12 spec/unit/type/whit_spec.rb
puppet-2.6.11 spec/unit/type/whit_spec.rb
puppet-2.6.10 spec/unit/type/whit_spec.rb
puppet-2.6.9 spec/unit/type/whit_spec.rb
puppet-2.6.8 spec/unit/type/whit_spec.rb
puppet-2.6.7 spec/unit/type/whit_spec.rb
puppet-2.6.6 spec/unit/type/whit_spec.rb
puppet-2.6.5 spec/unit/type/whit_spec.rb
puppet-2.6.4 spec/unit/type/whit_spec.rb
puppet-2.6.3 spec/unit/type/whit_spec.rb
puppet-2.6.2 spec/unit/type/whit_spec.rb