Whitespace

This commit is contained in:
Bryan Helmkamp 2009-09-19 17:34:09 -04:00
parent 40d7f970e0
commit 042b416092
13 changed files with 14 additions and 14 deletions

View File

@ -78,4 +78,4 @@ module Webrat
integration_session.response integration_session.response
end end
end end
end end

View File

@ -7,4 +7,4 @@ module Merb #:nodoc:
end end
end end
end end
end end

View File

@ -8,4 +8,4 @@ if defined?(ActionController::IntegrationTest)
include Webrat::Selenium::Matchers include Webrat::Selenium::Matchers
end end
end end
end end

View File

@ -1,2 +1,2 @@
warn("Requiring 'webrat/rspec-rails' is deprecated. Please require 'webrat/integrations/rspec-rails' instead") warn("Requiring 'webrat/rspec-rails' is deprecated. Please require 'webrat/integrations/rspec-rails' instead")
require "webrat/integrations/rspec-rails" require "webrat/integrations/rspec-rails"

View File

@ -2,4 +2,4 @@ require "webrat/selenium/application_servers/base"
require "webrat/selenium/application_servers/sinatra" require "webrat/selenium/application_servers/sinatra"
require "webrat/selenium/application_servers/merb" require "webrat/selenium/application_servers/merb"
require "webrat/selenium/application_servers/rails" require "webrat/selenium/application_servers/rails"
require "webrat/selenium/application_servers/external" require "webrat/selenium/application_servers/external"

View File

@ -23,4 +23,4 @@ module Webrat
end end
end end
end end
end end

View File

@ -74,8 +74,8 @@ module Webrat
def stop def stop
silence_stream(STDOUT) do silence_stream(STDOUT) do
::Selenium::RemoteControl::RemoteControl.new("0.0.0.0", ::Selenium::RemoteControl::RemoteControl.new("0.0.0.0",
Webrat.configuration.selenium_server_port, Webrat.configuration.selenium_server_port,
:timeout => 5).stop :timeout => 5).stop
end end
end end

View File

@ -15,4 +15,4 @@ module Webrat
end end
end end
end end
end end

View File

@ -77,4 +77,4 @@ class ButtonClickTest < ActionController::IntegrationTest
click_button "input_image_alt" click_button "input_image_alt"
end end
end end

View File

@ -21,4 +21,4 @@ class FillInTest < ActionController::IntegrationTest
visit fields_path visit fields_path
fill_in "[Field]:", :with => "value" fill_in "[Field]:", :with => "value"
end end
end end

View File

@ -24,4 +24,4 @@ class LinkClickTest < ActionController::IntegrationTest
click_link "Link With (parens)" click_link "Link With (parens)"
assert_contain("Link:link_with_parens") assert_contain("Link:link_with_parens")
end end
end end

View File

@ -15,7 +15,7 @@ describe "fill_in" do
fill_in "User Text", :with => "filling text area" fill_in "User Text", :with => "filling text area"
click_button click_button
end end
it "should support multiline values" do it "should support multiline values" do
with_html <<-HTML with_html <<-HTML
<html> <html>

View File

@ -61,7 +61,7 @@ describe "have_selector" do
@body.should have_selector("li", :count => 4) @body.should have_selector("li", :count => 4)
}.should raise_error(Spec::Expectations::ExpectationNotMetError) }.should raise_error(Spec::Expectations::ExpectationNotMetError)
end end
it "should convert a string to an integer for count" do it "should convert a string to an integer for count" do
@body.should have_selector("li", :count => "3") @body.should have_selector("li", :count => "3")
end end