Sha256: 5ef8fe091b637a2b93226e72e1d9da8d7e7d4cf34e79ac3a7c0329265b5395b1

Contents?: true

Size: 382 Bytes

Versions: 9

Compression:

Stored size: 382 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rake-funnel-0.10.0.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.9.1.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.9.0.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.8.0.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.7.0.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.6.1.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.6.0.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.5.0.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.4.0.pre spec/rake/funnel/integration/sync_output_spec.rb