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 1002de3 commit 0455ccbCopy full SHA for 0455ccb
spec/snaky_hash/snake_spec.rb
@@ -19,13 +19,13 @@ class TheSnakedHash < Hashie::Mash
19
20
it "returns a SnakyHash::Snake from a snake + hash merge" do
21
a = TheSnakedHash.new("asd" => "asd")
22
- b = Hash.new(zxc: "zxc")
+ b = {zxc: "zxc"}
23
expect(a.merge(b)).to be_a(TheSnakedHash)
24
end
25
26
it "returns a Hash from a hash + snake merge" do
27
28
29
res = b.merge(a)
30
expect(res).not_to be_a(TheSnakedHash)
31
expect(res).to be_a(Hash)
0 commit comments