Sha256: 9a74ab1c16198a2dbb278544b8b1ce0fe4bfdda5dd1712bc34da6078b6c10a52

Contents?: true

Size: 361 Bytes

Versions: 31

Compression:

Stored size: 361 Bytes

Contents

require "spec_helper"

describe "The Selenium Directory with Capybara", :js => true do
  it "should have the same driver as stock webdriver", :js => true do
    Capybara.current_session.driver.browser.should eq @selenium
  end

  it "should not create a new driver" do
    ::Sauce::Selenium2.should_not_receive(:new)
    visit "http://wwww.google.com"
  end
end

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
sauce-3.7.2 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce-3.7.1 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce-3.7.0 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce-3.5.11 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce-3.5.10 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce-3.5.9 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce-3.5.8 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce-3.5.7 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce_ruby-3.5.11 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce_ruby-3.5.10 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce_ruby-3.5.9 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce_ruby-3.5.8 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce_ruby-3.5.7 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce_ruby-3.5.6 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce-3.5.6 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce-3.5.5 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce-3.5.4 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce-3.5.3 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce-3.5.2 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb
sauce-3.5.1 spec/integration/rspec-capybara/spec/selenium/selenium_with_capybara.rb