Skip to content

Commit

Permalink
Added test for Capybara::Driver::Webkit and updated spec_helper path …
Browse files Browse the repository at this point in the history
…in spec/browser_spec.rb
  • Loading branch information
antramm committed Jul 8, 2011
1 parent 0aab89e commit 9fe7301
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion spec/browser_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'spec/spec_helper'
require 'spec_helper'
require 'capybara/driver/webkit/browser'

describe Capybara::Driver::Webkit::Browser do
Expand Down
4 changes: 4 additions & 0 deletions spec/integration/driver_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@

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"
Expand Down

0 comments on commit 9fe7301

Please sign in to comment.