spec/consumer_spec.rb in deimos-ruby-1.6.4 vs spec/consumer_spec.rb in deimos-ruby-1.7.0.pre.beta1

- old
+ new

@@ -88,21 +88,21 @@ MyConsumer, { 'test_id' => 'foo', 'some_int' => 123 }, { skip_expectation: true } ) { raise 'OH NOES' } - } .not_to raise_error + }.not_to raise_error end it 'should not fail when consume fails without reraising errors' do Deimos.configure { |config| config.consumers.reraise_errors = false } expect { test_consume_message( MyConsumer, { 'invalid' => 'key' }, { skip_expectation: true } ) - } .not_to raise_error + }.not_to raise_error end it 'should call original' do expect { test_consume_message(MyConsumer,