Sha256: 205560555d4f070927de11b2865866adf272c48a950d99fe578a888446a65fef

Contents?: true

Size: 287 Bytes

Versions: 10

Compression:

Stored size: 287 Bytes

Contents

shared_examples_for "output writer" do
  before do
    @read, @write = IO.pipe
  end

  let(:browser) do
    connection = Capybara::Webkit::Connection.new(:stderr => @write)
    Capybara::Webkit::Browser.new(connection)
  end

  let(:stderr) do
    @write.close
    @read.read
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
capybara-webkit-1.9.0 spec/support/output_writer.rb
capybara-webkit-1.8.0 spec/support/output_writer.rb
capybara-webkit-1.7.1 spec/support/output_writer.rb
capybara-webkit-1.7.0 spec/support/output_writer.rb
capybara-webkit-1.6.0 spec/support/output_writer.rb
capybara-webkit-1.5.2 spec/support/output_writer.rb
capybara-webkit-1.5.1 spec/support/output_writer.rb
capybara-webkit-1.5.0 spec/support/output_writer.rb
capybara-webkit-1.4.1 spec/support/output_writer.rb
capybara-webkit-1.4.0 spec/support/output_writer.rb