Whitespace
This commit is contained in:
parent
40d7f970e0
commit
042b416092
|
@ -78,4 +78,4 @@ module Webrat
|
|||
integration_session.response
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -7,4 +7,4 @@ module Merb #:nodoc:
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -8,4 +8,4 @@ if defined?(ActionController::IntegrationTest)
|
|||
include Webrat::Selenium::Matchers
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
warn("Requiring 'webrat/rspec-rails' is deprecated. Please require 'webrat/integrations/rspec-rails' instead")
|
||||
require "webrat/integrations/rspec-rails"
|
||||
require "webrat/integrations/rspec-rails"
|
||||
|
|
|
@ -2,4 +2,4 @@ require "webrat/selenium/application_servers/base"
|
|||
require "webrat/selenium/application_servers/sinatra"
|
||||
require "webrat/selenium/application_servers/merb"
|
||||
require "webrat/selenium/application_servers/rails"
|
||||
require "webrat/selenium/application_servers/external"
|
||||
require "webrat/selenium/application_servers/external"
|
||||
|
|
|
@ -23,4 +23,4 @@ module Webrat
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -74,8 +74,8 @@ module Webrat
|
|||
|
||||
def stop
|
||||
silence_stream(STDOUT) do
|
||||
::Selenium::RemoteControl::RemoteControl.new("0.0.0.0",
|
||||
Webrat.configuration.selenium_server_port,
|
||||
::Selenium::RemoteControl::RemoteControl.new("0.0.0.0",
|
||||
Webrat.configuration.selenium_server_port,
|
||||
:timeout => 5).stop
|
||||
end
|
||||
end
|
||||
|
|
|
@ -15,4 +15,4 @@ module Webrat
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -77,4 +77,4 @@ class ButtonClickTest < ActionController::IntegrationTest
|
|||
click_button "input_image_alt"
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -21,4 +21,4 @@ class FillInTest < ActionController::IntegrationTest
|
|||
visit fields_path
|
||||
fill_in "[Field]:", :with => "value"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -24,4 +24,4 @@ class LinkClickTest < ActionController::IntegrationTest
|
|||
click_link "Link With (parens)"
|
||||
assert_contain("Link:link_with_parens")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -15,7 +15,7 @@ describe "fill_in" do
|
|||
fill_in "User Text", :with => "filling text area"
|
||||
click_button
|
||||
end
|
||||
|
||||
|
||||
it "should support multiline values" do
|
||||
with_html <<-HTML
|
||||
<html>
|
||||
|
|
|
@ -61,7 +61,7 @@ describe "have_selector" do
|
|||
@body.should have_selector("li", :count => 4)
|
||||
}.should raise_error(Spec::Expectations::ExpectationNotMetError)
|
||||
end
|
||||
|
||||
|
||||
it "should convert a string to an integer for count" do
|
||||
@body.should have_selector("li", :count => "3")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue