File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ group :development, :test do
6767 gem 'capybara'
6868 gem 'simplecov' , require : false
6969 gem 'brakeman' , require : false
70+ gem 'capybara-screenshot' , :group => :test
7071end
7172
7273gem "font-awesome-rails"
Original file line number Diff line number Diff line change 5757 rack (>= 1.0.0 )
5858 rack-test (>= 0.5.4 )
5959 xpath (>= 2.0 , < 4.0 )
60+ capybara-screenshot (1.0.19 )
61+ capybara (>= 1.0 , < 4 )
62+ launchy
6063 climate_control (0.2.0 )
6164 cocaine (0.5.8 )
6265 climate_control (>= 0.0.3 , < 1.0 )
106109 railties (>= 4.2.0 )
107110 thor (>= 0.14 , < 2.0 )
108111 json (1.8.6 )
112+ launchy (2.4.3 )
113+ addressable (~> 2.3 )
109114 less (2.6.0 )
110115 commonjs (~> 0.2.7 )
111116 less-rails (3.0.0 )
@@ -265,6 +270,7 @@ DEPENDENCIES
265270 bootstrap-sass (~> 3.2.0 )
266271 brakeman
267272 capybara
273+ capybara-screenshot
268274 cocoon
269275 database_cleaner
270276 factory_bot
Original file line number Diff line number Diff line change 2323Dir [ Rails . root . join ( 'spec/support/**/*.rb' ) ] . each { |f | require f }
2424require 'capybara/rails'
2525require 'capybara/rspec'
26+ require 'capybara-screenshot/rspec'
2627# Checks for pending migrations and applies them before tests are run.
2728# If you are not using ActiveRecord, you can remove this line.
2829ActiveRecord ::Migration . maintain_test_schema!
You can’t perform that action at this time.
0 commit comments