parent
850beb72e1
commit
2a731e8350
31 changed files with 491 additions and 57 deletions
|
|
@ -64,6 +64,10 @@ RSpec.configure do |config|
|
|||
# poltergeist as a underlying mech for Capybara
|
||||
Capybara.javascript_driver = :poltergeist
|
||||
|
||||
Capybara.register_driver :poltergeist do |app|
|
||||
Capybara::Poltergeist::Driver.new(app, js_errors: false)
|
||||
end
|
||||
|
||||
# Includes helpers and connect them to specific types of tests
|
||||
config.include FactoryGirl::Syntax::Methods
|
||||
config.include OmniauthMacros
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue