Sha256: e339b0b390917062221a8e79bf15bba403820fc57bf1a41fdc9eec6ca8629599

Contents?: true

Size: 809 Bytes

Versions: 15

Compression:

Stored size: 809 Bytes

Contents

require "simplecov"

SimpleCov.start do
  SimpleCov.root "#{Dir.pwd}/../../../"
  command_name 'RSpec Integration'
  use_merging true
  merge_timeout 6000
end

require "rspec"
require "capybara/rspec"
require "sauce"
require "sauce/capybara"

class MyRackApp
  def self.call(env)
    [200, {}, ["Hello"]]
  end
end

Capybara.app = MyRackApp

Sauce.config do |c|
  c[:browsers] = [
      ["Windows 2008", "iexplore", "9"]
  ]

  c[:application_host] = "localhost"
end

def page_deprecation_warning
  return <<-MESSAGE
[DEPRECATED] Using the #page method is deprecated for RSpec tests without Capybara.  Please use the #s or #selenium method instead.
If you are using Capybara and are seeing this message, check the Capybara README for information on how to include the Capybara DSL in your tests.
  MESSAGE
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
sauce-3.5.4 spec/integration/rspec-capybara/spec/spec_helper.rb
sauce-3.5.3 spec/integration/rspec-capybara/spec/spec_helper.rb
sauce-3.5.2 spec/integration/rspec-capybara/spec/spec_helper.rb
sauce-3.5.1 spec/integration/rspec-capybara/spec/spec_helper.rb
sauce-3.5.0 spec/integration/rspec-capybara/spec/spec_helper.rb
sauce-3.4.9 spec/integration/rspec-capybara/spec/spec_helper.rb
sauce-3.4.8 spec/integration/rspec-capybara/spec/spec_helper.rb
sauce-3.4.7 spec/integration/rspec-capybara/spec/spec_helper.rb
sauce-3.4.6 spec/integration/rspec-capybara/spec/spec_helper.rb
sauce-3.4.5 spec/integration/rspec-capybara/spec/spec_helper.rb
sauce-3.4.4 spec/integration/rspec-capybara/spec/spec_helper.rb
sauce-3.4.3 spec/integration/rspec-capybara/spec/spec_helper.rb
sauce-3.4.2 spec/integration/rspec-capybara/spec/spec_helper.rb
sauce-3.4.1 spec/integration/rspec-capybara/spec/spec_helper.rb
sauce-3.4.0 spec/integration/rspec-capybara/spec/spec_helper.rb