From 21e52100a4a0ba7d794517f2490e626005d3a13b Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sat, 21 Jan 2012 16:44:25 -0700 Subject: One space separates sentences, not two --- activeresource/lib/active_resource/http_mock.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'activeresource/lib/active_resource/http_mock.rb') diff --git a/activeresource/lib/active_resource/http_mock.rb b/activeresource/lib/active_resource/http_mock.rb index 36f52d61d3..82046a39fb 100644 --- a/activeresource/lib/active_resource/http_mock.rb +++ b/activeresource/lib/active_resource/http_mock.rb @@ -4,7 +4,7 @@ require 'active_support/core_ext/object/inclusion' module ActiveResource class InvalidRequestError < StandardError; end #:nodoc: - # One thing that has always been a pain with remote web services is testing. The HttpMock + # One thing that has always been a pain with remote web services is testing. The HttpMock # class makes it easy to test your Active Resource models by creating a set of mock responses to specific # requests. # @@ -15,17 +15,17 @@ module ActiveResource # # mock.http_method(path, request_headers = {}, body = nil, status = 200, response_headers = {}) # - # * http_method - The HTTP method to listen for. This can be +get+, +post+, +put+, +delete+ or + # * http_method - The HTTP method to listen for. This can be +get+, +post+, +put+, +delete+ or # +head+. # * path - A string, starting with a "/", defining the URI that is expected to be # called. - # * request_headers - Headers that are expected along with the request. This argument uses a - # hash format, such as { "Content-Type" => "application/json" }. This mock will only trigger + # * request_headers - Headers that are expected along with the request. This argument uses a + # hash format, such as { "Content-Type" => "application/json" }. This mock will only trigger # if your tests sends a request with identical headers. - # * body - The data to be returned. This should be a string of Active Resource parseable content, + # * body - The data to be returned. This should be a string of Active Resource parseable content, # such as Json. # * status - The HTTP response code, as an integer, to return with the response. - # * response_headers - Headers to be returned with the response. Uses the same hash format as + # * response_headers - Headers to be returned with the response. Uses the same hash format as # request_headers listed above. # # In order for a mock to deliver its content, the incoming request must match by the http_method, -- cgit v1.2.3