Sha256: 97a41422f60d3e046822ad45ae786c2772a3f02d423e4cd044c12010fa200e35

Contents?: true

Size: 398 Bytes

Versions: 11

Compression:

Stored size: 398 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

11 entries across 11 versions & 1 rubygems

Version Path
rake-funnel-0.3.2.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.3.1.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.3.0.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.2.0.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.1.0.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.0.6.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.0.5.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.0.4.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.0.3.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.0.2.pre spec/rake/funnel/integration/sync_output_spec.rb
rake-funnel-0.0.1.pre spec/rake/funnel/integration/sync_output_spec.rb