summaryrefslogtreecommitdiffstats
path: root/spec/unit/network/formats.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/network/formats.rb')
-rwxr-xr-xspec/unit/network/formats.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/network/formats.rb b/spec/unit/network/formats.rb
index 527fd9d79..0e21fefa7 100755
--- a/spec/unit/network/formats.rb
+++ b/spec/unit/network/formats.rb
@@ -124,5 +124,9 @@ describe "Puppet Network Format" do
it "should fail if its multiple_intern method is used" do
lambda { @format.intern_multiple(String, "foo") }.should raise_error(NotImplementedError)
end
+
+ it "should have a weight of 1" do
+ @format.weight.should == 1
+ end
end
end