aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/test/cases/http_mock_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a bug where ActiveResource::HttpMock would not replace an existing ↵Josh Bassett2011-02-091-2/+25
| | | | | | response when passing a block to the respond_to method. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* - ActiveResource::HttpMock.respond_toGaston Ramos2010-10-071-1/+14
| | | | | | | do not replace the response with the same path but different method - Fix typo Signed-off-by: José Valim <jose.valim@gmail.com>
* - Fix ActiveResource::HttpMock.respond_to replace the responseGaston Ramos2010-10-071-4/+19
| | | | | | if it has the same request Signed-off-by: José Valim <jose.valim@gmail.com>
* Adding option to ActiveResource to allow you to not reset the previously ↵Mikel Lindsaar2010-08-291-1/+41
| | | | stored requests and responses by passing false to respond_to
* Updating documentation on ActiveResource HTTP Mock and also adding test coverageMikel Lindsaar2010-08-291-0/+28
|
* Make ActiveResource::InvalidRequestError more user friendlyMikel Lindsaar2010-08-251-0/+11
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* Fix bug where ActiveResource::HttpMock would overwrite Accept/Content-Type ↵Elomar França2010-06-241-0/+71
header to application/xml [#4939 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>