diff options
-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 |