mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-28 13:31:06 +00:00
TravisCI: bundle all gems. Use poltergeist/phantomjs
This commit is contained in:
parent
226ffcf8cb
commit
ffb7793e88
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
language: ruby
|
language: ruby
|
||||||
cache: bundler
|
cache: bundler
|
||||||
install: bundle install --without development --deployment --jobs=3 --retry=3
|
install: bundle install --jobs=3 --retry=3
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- vendor/bundle
|
- vendor/bundle
|
||||||
|
|
|
@ -34,7 +34,7 @@ RSpec.configure do |config|
|
||||||
|
|
||||||
config.before(:each) do
|
config.before(:each) do
|
||||||
if example.metadata[:type] == :feature
|
if example.metadata[:type] == :feature
|
||||||
Capybara.current_driver = :selenium
|
Capybara.current_driver = :poltergeist
|
||||||
else
|
else
|
||||||
Capybara.use_default_driver
|
Capybara.use_default_driver
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue