summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/hashie/dash_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/hashie/dash_spec.rb b/spec/hashie/dash_spec.rb
index df27fe7..c800681 100644
--- a/spec/hashie/dash_spec.rb
+++ b/spec/hashie/dash_spec.rb
@@ -87,6 +87,10 @@ describe Subclassed do
Subclassed.properties.size.should == 5
end
+ it "should inherit all defaults from DashTest" do
+ Subclassed.defaults.size.should == 5
+ end
+
it "should init without raising" do
lambda { Subclassed.new }.should_not raise_error
end