spec/spec_helper.rb in unobtrusive_flash-3.2.0 vs spec/spec_helper.rb in unobtrusive_flash-3.3.0
- old
+ new
@@ -8,13 +8,7 @@
require 'unobtrusive_flash'
require 'support/rails_app'
Capybara.app = TestApp
-if ENV['TRAVIS']
- # Selenium not available on TraviS CI without many pains.
- require 'capybara/poltergeist'
- Capybara.javascript_driver = :poltergeist
-else
- # But Selenium supports turbolinks and PhantomJS does not
- Capybara.javascript_driver = :selenium
-end
+require 'capybara/poltergeist'
+Capybara.javascript_driver = :poltergeist