spec/unit/modules/async_wrapper_spec.rb in ably-0.8.4 vs spec/unit/modules/async_wrapper_spec.rb in ably-0.8.5
- old
+ new
@@ -80,10 +80,10 @@
deferrable = subject.operation
deferrable.callback do |result|
expect(result).to eql(result)
EventMachine.add_timer(sleep_time * 2) { stop_reactor }
end
- deferrable.errback do |result|
+ deferrable.errback do |error|
raise 'Errback should not have been called'
end
end
end