1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/spec/fixtures/selenium_driver_rspec_success.rb

14 lines
426 B
Ruby
Raw Normal View History

2016-03-07 19:52:19 -05:00
# frozen_string_literal: true
2018-02-28 19:11:41 -05:00
require 'spec_helper'
require 'selenium-webdriver'
RSpec.describe Capybara::Selenium::Driver do
2018-07-10 17:18:39 -04:00
it 'should exit with a zero exit status' do
options = { browser: (ENV['SELENIUM_BROWSER'] || :firefox).to_sym }
2018-02-28 19:11:41 -05:00
browser = Capybara::Selenium::Driver.new(TestApp, options).browser
expect(browser).to be_truthy
expect(true).to eq(true) # rubocop:disable RSpec/ExpectActual
end
end