Commit 81717c3

mo khan <mo@mokhan.ca>
2015-04-07 02:20:52
increase logging.
1 parent ba0bd07
Changed files (1)
spec/rails_helper.rb
@@ -26,6 +26,10 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
 # Checks for pending migrations before tests are run.
 # If you are not using ActiveRecord, you can remove this line.
 ActiveRecord::Migration.maintain_test_schema!
+Capybara.register_driver :poltergeist do |app|
+  options = { debug: true }
+  Capybara::Poltergeist::Driver.new(app, options)
+end
 Capybara.javascript_driver = :poltergeist
 
 RSpec.configure do |config|