mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Always run server
since we're now always using the same session this would otherwise cause the server not to start
This commit is contained in:
parent
62d17bc377
commit
be6aaa9f33
1 changed files with 2 additions and 4 deletions
|
@ -3,20 +3,18 @@ require File.expand_path('../spec_helper', File.dirname(__FILE__))
|
|||
describe Capybara::Driver::Culerity do
|
||||
before(:all) do
|
||||
Capybara.app_host = "http://capybara-testapp.heroku.com"
|
||||
Capybara.run_server = false
|
||||
@driver = TestSessions::Culerity.driver
|
||||
end
|
||||
|
||||
|
||||
after(:all) do
|
||||
Capybara.app_host = nil
|
||||
Capybara.run_server = true
|
||||
end
|
||||
|
||||
it "should navigate to a fully qualified remote page" do
|
||||
@driver.visit('http://capybara-testapp.heroku.com/foo')
|
||||
@driver.body.should include('Another World')
|
||||
end
|
||||
|
||||
|
||||
it_should_behave_like "driver"
|
||||
it_should_behave_like "driver with javascript support"
|
||||
it_should_behave_like "driver with header support"
|
||||
|
|
Loading…
Add table
Reference in a new issue