Use webdrivers gem to keep webdrivers updated

This commit is contained in:
Paul Chavard 2019-11-05 15:47:55 +01:00
parent 88a4befbc5
commit efd03f0169
5 changed files with 12 additions and 1 deletions

View file

@ -18,6 +18,8 @@ chdir APP_ROOT do
system('bundle check') || system!('bundle install')
system! 'bin/yarn install'
puts "\n== Updating webdrivers =="
system! 'RAILS_ENV=test bin/rails webdrivers:chromedriver:update'
puts "\n== Copying sample files =="
unless File.exist?('.env')