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

13 lines
487 B
Ruby
Raw Normal View History

2016-03-07 19:52:19 -05:00
# frozen_string_literal: true
require 'spec_helper'
require 'selenium-webdriver'
RSpec.describe Capybara::Selenium::Driver do
2011-08-22 05:32:35 -04:00
it "should exit with a zero exit status" do
options = { browser: (ENV['SELENIUM_BROWSER'] || :firefox).to_sym }
options[:desired_capabilities] = Selenium::WebDriver::Remote::Capabilities.firefox(marionette: false) if ENV['LEGACY_FIREFOX']
browser = Capybara::Selenium::Driver.new(TestApp, options ).browser
expect(true).to eq(true)
end
end