Skip to content

Commit 0455ccb

Browse files
committed
💚 Fix build
1 parent 1002de3 commit 0455ccb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/snaky_hash/snake_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ class TheSnakedHash < Hashie::Mash
1919

2020
it "returns a SnakyHash::Snake from a snake + hash merge" do
2121
a = TheSnakedHash.new("asd" => "asd")
22-
b = Hash.new(zxc: "zxc")
22+
b = {zxc: "zxc"}
2323
expect(a.merge(b)).to be_a(TheSnakedHash)
2424
end
2525

2626
it "returns a Hash from a hash + snake merge" do
2727
a = TheSnakedHash.new("asd" => "asd")
28-
b = Hash.new(zxc: "zxc")
28+
b = {zxc: "zxc"}
2929
res = b.merge(a)
3030
expect(res).not_to be_a(TheSnakedHash)
3131
expect(res).to be_a(Hash)

0 commit comments

Comments
 (0)