Sha256: ad0a0453ce55a78daa36183357dd36a0876d419e44d936071fd61f2e6a08f9f8
Contents?: true
Size: 338 Bytes
Versions: 2
Compression:
Stored size: 338 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' describe Hash do it 'should respond to all the new methods' do Hash.new.should respond_to(*%w(with_defaults with_defaults! nested_find deep_merge!)) end it 'should return a Hash from with_defaults' do Hash.new.with_defaults(:foo => :bar).should be_a_kind_of(Hash) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
darkhelmet-darkext-0.11.1 | spec/hash_spec.rb |
darkhelmet-darkext-0.11.2 | spec/hash_spec.rb |