Sha256: 105c591e3b369890f90ba6be610bce517cf049e058b9010d00b8f2d1ef94e1e1

Contents?: true

Size: 602 Bytes

Versions: 31

Compression:

Stored size: 602 Bytes

Contents

require "spec_helper"

describe "Capybarad Examples where Sauce is included second", :js => true do
  include Capybara::DSL
  include Sauce::RSpec::SeleniumExampleGroup
  
  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.7.2 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce-3.7.1 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce-3.7.0 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce-3.5.11 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce-3.5.10 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce-3.5.9 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce-3.5.8 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce-3.5.7 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce_ruby-3.5.11 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce_ruby-3.5.10 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce_ruby-3.5.9 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce_ruby-3.5.8 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce_ruby-3.5.7 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce_ruby-3.5.6 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce-3.5.6 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce-3.5.5 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce-3.5.4 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce-3.5.3 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce-3.5.2 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb
sauce-3.5.1 spec/integration/rspec-capybara/spec/sauce_required_last_spec.rb