1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00

Capybara driver specs moved into session

This commit is contained in:
Matthew Horan 2012-11-17 09:34:47 -05:00
parent 61a6561d62
commit c8f243e05f

View file

@ -1,21 +0,0 @@
require 'spec_helper'
require 'capybara/webkit/driver'
describe Capybara::Webkit::Driver do
before do
@driver = Capybara::Webkit::Driver.new(TestApp, :browser => $webkit_browser)
end
it_should_behave_like "driver"
it_should_behave_like "driver with javascript support"
it_should_behave_like "driver with cookies support"
it_should_behave_like "driver with header support"
it_should_behave_like "driver with status code support"
it_should_behave_like "driver with frame support"
it_should_behave_like "driver with support for window switching"
it "returns the rack server port" do
@driver.server_port.should eq(@driver.instance_variable_get(:@rack_server).port)
end
end