Sha256: 93da25e57005869f6d3acbbd703180dbcf6c16159c6ffd125b0b83bd013ecfc7

Contents?: true

Size: 387 Bytes

Versions: 6

Compression:

Stored size: 387 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'
require 'selenium-webdriver'

RSpec.describe Capybara::Selenium::Driver do
  it "should exit with a non-zero exit status" do
    options = { browser: (ENV['SELENIUM_BROWSER'] || :firefox).to_sym }
    browser = Capybara::Selenium::Driver.new(TestApp, options).browser
    expect(browser).to be
    expect(true).to eq(false)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
capybara-3.0.3 spec/fixtures/selenium_driver_rspec_failure.rb
capybara-3.0.2 spec/fixtures/selenium_driver_rspec_failure.rb
capybara-3.0.1 spec/fixtures/selenium_driver_rspec_failure.rb
capybara-3.0.0 spec/fixtures/selenium_driver_rspec_failure.rb
capybara-3.0.0.rc2 spec/fixtures/selenium_driver_rspec_failure.rb
capybara-3.0.0.rc1 spec/fixtures/selenium_driver_rspec_failure.rb