Added test for Capybara::Driver::Webkit and updated spec_helper path in spec/browser_spec.rb
This commit is contained in:
parent
0aab89eb68
commit
9fe7301d48
|
@ -1,4 +1,4 @@
|
|||
require 'spec/spec_helper'
|
||||
require 'spec_helper'
|
||||
require 'capybara/driver/webkit/browser'
|
||||
|
||||
describe Capybara::Driver::Webkit::Browser do
|
||||
|
|
|
@ -12,6 +12,10 @@ describe Capybara::Driver::Webkit do
|
|||
it_should_behave_like "driver with javascript support"
|
||||
it_should_behave_like "driver with cookies support"
|
||||
|
||||
it "returns the rack server port" do
|
||||
@driver.server_port.should eq(@driver.instance_variable_get(:@rack_server).port)
|
||||
end
|
||||
|
||||
# Can't support:
|
||||
# it_should_behave_like "driver with header support"
|
||||
# it_should_behave_like "driver with status code support"
|
||||
|
|
Loading…
Reference in New Issue