spec/unit/resource/status_spec.rb in puppet-2.7.19 vs spec/unit/resource/status_spec.rb in puppet-2.7.20.rc1
- old
+ new
@@ -146,9 +146,9 @@
it "should include only documented attributes" do
@status.file = "/foo.rb"
@status.line = 27
@status.evaluation_time = 2.7
@status.tags = %w{one two}
- @status.to_yaml_properties.should == Puppet::Resource::Status::YAML_ATTRIBUTES.sort
+ @status.to_yaml_properties.should =~ Puppet::Resource::Status::YAML_ATTRIBUTES
end
end
end