don't use WebKit with Capybara
This commit is contained in:
1
Gemfile
1
Gemfile
@ -43,7 +43,6 @@ end
|
||||
group :test do
|
||||
gem 'autotest-rails'
|
||||
gem 'capybara'
|
||||
gem 'capybara-webkit'
|
||||
gem 'codeclimate-test-reporter', require: nil
|
||||
gem 'database_cleaner'
|
||||
gem 'nyan-cat-formatter'
|
||||
|
@ -66,9 +66,6 @@ GEM
|
||||
rack (>= 1.0.0)
|
||||
rack-test (>= 0.5.4)
|
||||
xpath (~> 2.0)
|
||||
capybara-webkit (1.4.1)
|
||||
capybara (>= 2.3.0, < 2.5.0)
|
||||
json
|
||||
carrierwave (0.10.0)
|
||||
activemodel (>= 3.2.0)
|
||||
activesupport (>= 3.2.0)
|
||||
@ -306,7 +303,6 @@ DEPENDENCIES
|
||||
capistrano-upload-config
|
||||
capistrano3-puma
|
||||
capybara
|
||||
capybara-webkit
|
||||
carrierwave
|
||||
codeclimate-test-reporter
|
||||
coffee-rails (~> 4.0.0)
|
||||
|
@ -20,8 +20,6 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
||||
# If you are not using ActiveRecord, you can remove this line.
|
||||
ActiveRecord::Migration.maintain_test_schema!
|
||||
|
||||
Capybara.javascript_driver = :webkit
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.around(:each) do |example|
|
||||
Timeout::timeout(example.metadata[:permitted_execution_time] || MAXIMUM_EXECUTION_TIME) { example.run }
|
||||
|
Reference in New Issue
Block a user