Permalink
Browse files

- added mock to test ActiveResource::MissingPrefixParam in finder_test

  • Loading branch information...
1 parent e405dbc commit f85b38a36b68488e94e9950fd15ec29a21bf6917 @gramos gramos committed Sep 18, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 activeresource/test/abstract_unit.rb
@@ -97,6 +97,7 @@ def setup_response
mock.put "/people/1/addresses/1.xml", {}, nil, 204
mock.delete "/people/1/addresses/1.xml", {}, nil, 200
mock.post "/people/1/addresses.xml", {}, nil, 201, 'Location' => '/people/1/addresses/5'
+ mock.get "/people/1/addresses/99.xml", {}, nil, 404
mock.get "/people//addresses.xml", {}, nil, 404
mock.get "/people//addresses/1.xml", {}, nil, 404
mock.put "/people//addresses/1.xml", {}, nil, 404

0 comments on commit f85b38a

Please sign in to comment.