summaryrefslogtreecommitdiffstats
path: root/spec/unit
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit')
-rwxr-xr-xspec/unit/resource/catalog.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/resource/catalog.rb b/spec/unit/resource/catalog.rb
index 6a5922e2e..d51f8fbd7 100755
--- a/spec/unit/resource/catalog.rb
+++ b/spec/unit/resource/catalog.rb
@@ -801,6 +801,10 @@ describe Puppet::Resource::Catalog, "when compiling" do
it "should be able to be dumped to yaml" do
YAML.dump(@catalog).should be_instance_of(String)
end
+
+ it "should always have its resource table first in its yaml property list" do
+ @catalog.to_yaml_properties[0].should == "@resource_table"
+ end
end
describe "when converting from yaml" do