spec/rake/funnel/integration/sync_output_spec.rb in rake-funnel-0.3.2.pre vs spec/rake/funnel/integration/sync_output_spec.rb in rake-funnel-0.4.0.pre

- old
+ new

@@ -1,16 +1,16 @@ -describe Rake::Funnel::Integration::SyncOutput do - before { - allow($stdout).to receive(:sync=) - allow($stderr).to receive(:sync=) - - expect(subject).to be - } - - it 'should immediately flush stdout' do - expect($stdout).to have_received(:sync=).with(true) - end - - it 'should immediately flush stderr' do - expect($stdout).to have_received(:sync=).with(true) - end -end +describe Rake::Funnel::Integration::SyncOutput do + before { + allow($stdout).to receive(:sync=) + allow($stderr).to receive(:sync=) + + expect(subject).to be + } + + it 'should immediately flush stdout' do + expect($stdout).to have_received(:sync=).with(true) + end + + it 'should immediately flush stderr' do + expect($stdout).to have_received(:sync=).with(true) + end +end