lib/ezlog/rspec/matchers.rb in ezlog-0.6.0 vs lib/ezlog/rspec/matchers.rb in ezlog-0.7.0
- old
+ new
@@ -21,10 +21,10 @@
end
def expected_messages_from(object)
@expected_messages ||= case object
when Hash
- object.map { |k, v| MultiJson.dump(k => v)[1...-1] }
+ object.map { |k, v| JSON.dump(k => v)[1...-1] }
when String
[object]
else
raise NotImplementedError, 'log expectation must be Hash or String'
end