Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (17 sloc) 704 Bytes
require 'spec_helper'
require 'capybara/driver/webkit'
describe Capybara::Driver::Webkit do
before do
@driver = Capybara::Driver::Webkit.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
Something went wrong with that request. Please try again.