before, not before(:all)
This commit is contained in:
parent
d584bb34e9
commit
0c505d9cee
|
@ -1,16 +1,13 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe Capybara::Driver::Selenium do
|
||||
before(:all) do
|
||||
before do
|
||||
Capybara.app_host = "http://capybara-testapp.heroku.com"
|
||||
end
|
||||
|
||||
after(:all) do
|
||||
Capybara.app_host = nil
|
||||
@driver = TestSessions::Selenium.driver
|
||||
end
|
||||
|
||||
before do
|
||||
@driver = TestSessions::Selenium.driver
|
||||
after do
|
||||
Capybara.app_host = nil
|
||||
end
|
||||
|
||||
it_should_behave_like "driver"
|
||||
|
|
Loading…
Reference in New Issue