mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
fix the rspec 3 deprecation warning when running tests
This commit is contained in:
parent
6641fddcfc
commit
891eb9e10e
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
|||
require 'spec_helper'
|
||||
require 'capybara/rspec'
|
||||
|
||||
Capybara.app = TestApp
|
||||
|
||||
|
|
|
@ -14,6 +14,9 @@ RSpec.configure do |config|
|
|||
end
|
||||
end
|
||||
|
||||
# Required here instead of in rspec_spec to avoid RSpec deprecation warning
|
||||
require 'capybara/rspec'
|
||||
|
||||
require 'capybara/spec/driver'
|
||||
require 'capybara/spec/session'
|
||||
|
||||
|
|
Loading…
Reference in a new issue