mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
before, not before(:all)
This commit is contained in:
parent
d584bb34e9
commit
0c505d9cee
1 changed files with 4 additions and 7 deletions
|
|
@ -1,16 +1,13 @@
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe Capybara::Driver::Selenium do
|
describe Capybara::Driver::Selenium do
|
||||||
before(:all) do
|
before do
|
||||||
Capybara.app_host = "http://capybara-testapp.heroku.com"
|
Capybara.app_host = "http://capybara-testapp.heroku.com"
|
||||||
end
|
@driver = TestSessions::Selenium.driver
|
||||||
|
|
||||||
after(:all) do
|
|
||||||
Capybara.app_host = nil
|
|
||||||
end
|
end
|
||||||
|
|
||||||
before do
|
after do
|
||||||
@driver = TestSessions::Selenium.driver
|
Capybara.app_host = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
it_should_behave_like "driver"
|
it_should_behave_like "driver"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue