1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/spec/driver/remote_selenium_driver_spec.rb
Gareth Townsend d1fc4d6e1a Rename response_code to status_code for consistency.
Update selenium specs to ensure that it raises the Capybara::NotSupportedByDriverError error.
2010-06-07 13:14:40 +10:00

19 lines
No EOL
474 B
Ruby

require File.expand_path('../spec_helper', File.dirname(__FILE__))
describe Capybara::Driver::Selenium do
before(:all) do
Capybara.app_host = "http://capybara-testapp.heroku.com"
end
after(:all) do
Capybara.app_host = nil
end
before do
@driver = Capybara::Driver::Selenium.new(TestApp)
end
it_should_behave_like "driver"
it_should_behave_like "driver with javascript support"
it_should_behave_like "driver without status code support"
end