spec/mashed/stringy_hash_spec.rb in mashed-0.4.0 vs spec/mashed/stringy_hash_spec.rb in mashed-0.5.0
- old
+ new
@@ -1,9 +1,9 @@
require "spec_helper"
describe Mashed::StringyHash do
- let(:hash) {{ a: 1, b: 2, c: 3 }}
+ let(:hash) {{ a: 1, b: 2, c: { three: 3 }}}
describe "#stringify" do
- it { expect(hash.stringify).to eq("a" => 1, "b" => 2, "c" => 3) }
+ it { expect(hash.stringify).to eq("a" => 1, "b" => 2, "c" => { "three" => 3 }) }
end
end