Permalink
Browse files

attributes on persistable dependencies default to []

  • Loading branch information...
1 parent be919cc commit 64054b6f5528f34b1b6efc53e058a5ed4673c05d Matthew Kane Parker committed Sep 25, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 spec/support/shared_examples/persistence/configuration.rb
@@ -19,4 +19,16 @@
end
end
end
+
+ describe "#whitelist" do
+ it "should default to an empty array" do
+ klass.new.whitelist.should == []
+ end
+ end
+
+ describe "#ignore_groups" do
+ it "should default to an empty array" do
+ klass.new.ignore_groups.should == []
+ end
+ end
end

0 comments on commit 64054b6

Please sign in to comment.