22
22
%{ "one::two" "one-two"}.each do |type|
23
23
it "should evaluate correctly reference to define" do
24
24
klass = stub 'klass', :title => "three", :classname => type
27
27
newref("three", type).evaluate(@scope).to_ref.should == Puppet::Parser::Resource::Reference.new( :type => type, :title => "three" ).to_ref