Sha256: a35398ea1044f8475eea024b215cdc7f96108ab1653e175acab90f1bacaea955

Contents?: true

Size: 552 Bytes

Versions: 31

Compression:

Stored size: 552 Bytes

Contents

require "spec_helper"

describe "Capybara Examples where Capybara is included last", :type => :feature, :sauce => true do
  context "When calling the #page method" do
    it "should get access to a Capybara Session object" do
      page.should be_a_kind_of Capybara::Session
    end

    it "should not output a deprecation message" do
      self.should_not_receive(:warn).with(page_deprecation_warning)
    end
  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.5.0 spec/integration/rspec-capybara/spec/capybara_required_last_spec.rb
sauce-3.4.9 spec/integration/rspec-capybara/spec/capybara_required_last_spec.rb
sauce-3.4.8 spec/integration/rspec-capybara/spec/capybara_required_last_spec.rb
sauce-3.4.7 spec/integration/rspec-capybara/spec/capybara_required_last_spec.rb
sauce-3.4.6 spec/integration/rspec-capybara/spec/capybara_required_last_spec.rb
sauce-3.4.5 spec/integration/rspec-capybara/spec/capybara_required_last_spec.rb
sauce-3.4.4 spec/integration/rspec-capybara/spec/capybara_required_last_spec.rb
sauce-3.4.3 spec/integration/rspec-capybara/spec/capybara_required_last_spec.rb
sauce-3.4.2 spec/integration/rspec-capybara/spec/capybara_required_last_spec.rb
sauce-3.4.1 spec/integration/rspec-capybara/spec/capybara_required_last_spec.rb
sauce-3.4.0 spec/integration/rspec-capybara/spec/capybara_required_last_spec.rb