We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e79923 commit 5e654e3Copy full SHA for 5e654e3
spec/core_ext/hash_with_indifferent_access_spec.rb
@@ -32,13 +32,13 @@
32
it "merges keys independent if they are symbols or strings" do
33
@hash.merge!('force' => false, :baz => "boom")
34
expect(@hash[:force]).to eq(false)
35
- expect(@hash[:baz]).to eq("boom")
+ expect(@hash["baz"]).to eq("boom")
36
end
37
38
it "creates a new hash by merging keys independent if they are symbols or strings" do
39
other = @hash.merge('force' => false, :baz => "boom")
40
expect(other[:force]).to eq(false)
41
- expect(other[:baz]).to eq("boom")
+ expect(other["baz"]).to eq("boom")
42
43
44
it "converts to a traditional hash" do
0 commit comments