Sha256: fc5b386e04d65cbe4583d67ef8127f1e4fb7b549f25fd9dce4ecf1a4c6a900c0
Contents?: true
Size: 878 Bytes
Versions: 16
Compression:
Stored size: 878 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[:sauce_connect_4_executable] = ENV["SAUCE_CONNECT_4_EXECUTABLE"] 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
16 entries across 16 versions & 2 rubygems