spec/lib/backends/memory/json_spec.rb in picky-4.19.4 vs spec/lib/backends/memory/json_spec.rb in picky-4.19.5
- old
+ new
@@ -17,10 +17,10 @@
end
end
describe "dump" do
it "forwards to the given hash" do
- hash = stub :hash
+ hash = double :hash
json.should_receive(:dump_json).once.with hash
json.dump hash
end
\ No newline at end of file