Fix coding standards (runner spec descriptions)

This commit is contained in:
Thibault Jouan 2015-04-24 19:47:45 +00:00
parent 6cfed91653
commit e68d3fd6a3

View File

@ -150,17 +150,17 @@ module Uh
expect(runner.worker).to respond_to :work_events expect(runner.worker).to respond_to :work_events
end end
it 'setups the read callback to tell manager to handle pending events' do it 'setups the read callback' do
expect(runner.manager).to receive :handle_pending_events expect(runner.manager).to receive :handle_pending_events
runner.worker.on_read.call runner.worker.on_read.call
end end
it 'setups the read_next callback to tell manager to handle next event' do it 'setups the read_next callback' do
expect(runner.manager).to receive :handle_next_event expect(runner.manager).to receive :handle_next_event
runner.worker.on_read_next.call runner.worker.on_read_next.call
end end
it 'setups the timeout callback to tell manager to flush the output' do it 'setups the timeout callback' do
expect(runner.manager).to receive :flush expect(runner.manager).to receive :flush
runner.worker.on_timeout.call runner.worker.on_timeout.call
end end