1
0
Fork 0
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:
Thomas Walpole 2011-07-26 10:49:57 -07:00 committed by Jo Liss
parent 6641fddcfc
commit 891eb9e10e
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,4 @@
require 'spec_helper'
require 'capybara/rspec'
Capybara.app = TestApp

View file

@ -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'