spec/lib/support/hash_refinements_spec.rb in basquiat-1.2.0 vs spec/lib/support/hash_refinements_spec.rb in basquiat-1.3.0.pre.1
- old
+ new
@@ -12,11 +12,11 @@
expect(hash['hash']).to have_key('other_inner_key')
expect(hash['hash']['inner_key']).to eq(7)
end
it '#deep_merge with nested different hashes' do
- base = { queue: { options: { some: 'value' } } }
- other = { queue: { options: { another: 'setting' } } }
+ base = { queue: { options: { some: 'value' } } }
+ other = { queue: { options: { another: 'setting' } } }
base.deep_merge(other)
expect(base[:queue][:options].keys).to contain_exactly(:some, :another)
end
it '#symbolize_keys' do