diff options
author | dblock <dblock@dblock.org> | 2014-03-30 20:01:53 -0400 |
---|---|---|
committer | dblock <dblock@dblock.org> | 2014-03-30 20:01:53 -0400 |
commit | aba2d0446df9ed2749ff213ba4ed5bca55e75a19 (patch) | |
tree | 8e2a6f5789fd35949d7a2c2b591b1214111bb544 | |
parent | fa8f1a8a5e3c317e4f5e5fcd36095d3a432121cc (diff) | |
download | hashie-aba2d0446df9ed2749ff213ba4ed5bca55e75a19.tar.gz |
Added explicit test for #125.
-rw-r--r-- | spec/hashie/mash_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/hashie/mash_spec.rb b/spec/hashie/mash_spec.rb index 362ff29..26806a6 100644 --- a/spec/hashie/mash_spec.rb +++ b/spec/hashie/mash_spec.rb @@ -333,6 +333,10 @@ describe Hashie::Mash do it "should not respond to an unknown key without a suffix" do Hashie::Mash.new(:abc => 'def').should_not be_respond_to(:xyz) end + + it "should not respond to permitted?" do + Hashie::Mash.new.should_not be_respond_to(:permitted?) + end end context "#initialize" do |