spec/consumer_spec.rb in deimos-ruby-1.12.0 vs spec/consumer_spec.rb in deimos-ruby-1.12.1
- old
+ new
@@ -10,10 +10,10 @@
namespace 'com.my-namespace'
key_config field: 'test_id'
# :nodoc:
def fatal_error?(_exception, payload, _metadata)
- payload == 'fatal'
+ payload.to_s == 'fatal'
end
# :nodoc:
def consume(_payload, _metadata)
raise 'This should not be called unless call_original is set'