Sha256: df1e8b8c7b1fb0ae7724b1137fc7fc0761f06f58cc5cf3fdd988c0a118103a46
Contents?: true
Size: 833 Bytes
Versions: 1
Compression:
Stored size: 833 Bytes
Contents
require 'capybara/rspec' require 'capybara/rails' require 'capybara/poltergeist' require 'capybara-screenshot/rspec' RSpec.configure do |config| config.include Rack::Test::Methods, type: :requests Capybara.javascript_driver = :poltergeist Capybara.register_driver(:poltergeist) do |app| Capybara::Poltergeist::Driver.new app, js_errors: true, timeout: 60 end # rspec-rails 3 will no longer automatically infer an example group's spec type # from the file location. You can explicitly opt-in to the feature using this # config option. # To explicitly tag specs without using automatic inference, set the `:type` # metadata manually: # # describe ThingsController, :type => :controller do # # Equivalent to being in spec/controllers # end config.infer_spec_type_from_file_location! end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_active_shipping-1.0.0 | spec/support/capybara.rb |