Sha256: 1c9bb7ee6f46210c260135642428815517a1f3bc7334e38cf9f21b88ef7b3b74

Contents?: true

Size: 629 Bytes

Versions: 5

Compression:

Stored size: 629 Bytes

Contents

require "rspec"
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')

['sauce-jasmine', 'sauce-cucumber', 'sauce-connect'].each do |gem|
  $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + "/../gems/#{gem}/lib"))
end

require 'sauce'
require 'capybara'

RSpec.configure do |c|
  c.filter_run_excluding :capybara_version => lambda { |capybara_version_range|
    actual_version = Gem::Version.new Capybara::VERSION
    lower_bound = Gem::Version.new capybara_version_range[0]
    upper_bound = Gem::Version.new capybara_version_range[1]

    !actual_version.between?(lower_bound, upper_bound)
  }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sauce-3.0.4 spec/spec_helper.rb
sauce-3.0.2 spec/spec_helper.rb
sauce-3.0.1 spec/spec_helper.rb
sauce-3.0.0 spec/spec_helper.rb
sauce-2.5.2 spec/spec_helper.rb