Merge branch 'rs-capybara-screenshot' into 'master'
Add capybara-screenshot gem This is a handy little gem that automatically saves the page and a screenshot when a Capybara test fails to `tmp/capybara/` so you can easily see why it might have failed without adding your own `save_and_open_page` directive in the code. Also reduces the timeout for Capybara tests when not in a CI environment. See merge request !578
Showing
... | @@ -223,14 +223,13 @@ end | ... | @@ -223,14 +223,13 @@ end |
group :development, :test do | group :development, :test do | ||
gem 'coveralls', require: false | gem 'coveralls', require: false | ||
gem 'rubocop', '0.28.0', require: false | gem 'rubocop', '0.28.0', require: false | ||
# gem 'rails-dev-tweaks' | |||
gem 'spinach-rails' | gem 'spinach-rails' | ||
gem "rspec-rails", '2.99' | gem "rspec-rails", '2.99' | ||
gem "capybara", '~> 2.2.1' | gem 'capybara', '~> 2.2.1' | ||
gem 'capybara-screenshot', '~> 1.0.0' | |||
gem "pry-rails" | gem "pry-rails" | ||
gem "awesome_print" | gem "awesome_print" | ||
gem "database_cleaner" | gem "database_cleaner" | ||
gem "launchy" | |||
gem 'factory_girl_rails' | gem 'factory_girl_rails' | ||
# Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826) | # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826) | ||
... | ... |
features/support/capybara.rb
0 → 100644
spec/support/capybara.rb
0 → 100644
Please register or sign in to comment