Sha256: 1b0986111e104541d5169b5bbbe667bb30cad9602b53e52f9828edaa35d007fb
Contents?: true
Size: 769 Bytes
Versions: 1
Compression:
Stored size: 769 Bytes
Contents
require 'spec_helper' require 'capybara/rspec' require 'support/test_app/test_app' require 'support/server' Dir['./spec/support/shared/integration/**/*.rb'].sort.each {|f| require f } Dir['./spec/support/site_prism/pages/**/*.rb'].sort.each {|f| require f } Capybara.app = TestApp Capybara.default_driver = :selenium Capybara.server_port = Server.find_available_port VCR.configure do |c| c.cassette_library_dir = 'spec/fixtures' c.hook_into :webmock c.ignore_localhost = false c.preserve_exact_body_bytes { false } c.default_cassette_options = { serialize_with: :psych, allow_playback_repeats: true, erb: { port: Capybara.server_port } } c.ignore_request do |req| (req.uri =~ /api\/cat/).nil? end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
site_prism.vcr-0.3.0 | spec/spec_integration_helper.rb |