Sha256: 7c79695519ff236ecd93248ce63b1bab898fa2437bfd447260f83f4dbd99c9c3
Contents?: true
Size: 864 Bytes
Versions: 3
Compression:
Stored size: 864 Bytes
Contents
# frozen_string_literal: true require 'capybara/spec/spec_helper' require 'capybara/mechanize' require 'capybara/spec/extended_test_app' PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')).freeze $LOAD_PATH << File.join(PROJECT_ROOT, 'lib') Dir[File.join(PROJECT_ROOT, 'spec', 'support', '**', '*.rb')].each { |file| require(file) } RSpec.configure do |config| config.filter_run focus: true unless ENV['CI'] config.run_all_when_everything_filtered = true # Used with DisableExternalTests config.filter_run_excluding :external_test_disabled config.include RemoteTestUrl config.extend RemoteTestUrl config.include Capybara::SpecHelper config.after do Capybara::Mechanize.local_hosts = nil end Capybara::SpecHelper.configure(config) config.order = 'random' CAPYBARA_DEFAULT_HOST = Capybara.default_host end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capybara-mechanize-1.13.0 | spec/spec_helper.rb |
capybara-mechanize-1.12.1 | spec/spec_helper.rb |
capybara-mechanize-1.12.0 | spec/spec_helper.rb |