spec/betterlog/log_spec.rb in betterlog-0.18.0 vs spec/betterlog/log_spec.rb in betterlog-0.19.0
- old
+ new
@@ -19,10 +19,10 @@
it 'can eventify a string' do
expect(event).to be_a Log::Event
end
it 'can eventify a hash' do
- event = Log::Event.ify(message: 'hallo')
+ event = Log::Event.ify({ message: 'hallo' })
expect(event).to be_a Log::Event
end
end
describe 'Log::Event.to_json' do