diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-02-18 00:21:18 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-02-18 00:21:18 +0000 |
commit | 8bbabd43a9f9ac62e1f8e48981913d45ed485eb7 (patch) | |
tree | 0a2a37d07906760b6ba76a2332f3196d3244fabd /activeresource/test/base | |
parent | f2546164d6eb9302d1ff5d36939d128b8f96feb1 (diff) | |
download | rails-8bbabd43a9f9ac62e1f8e48981913d45ed485eb7.tar.gz rails-8bbabd43a9f9ac62e1f8e48981913d45ed485eb7.tar.bz2 rails-8bbabd43a9f9ac62e1f8e48981913d45ed485eb7.zip |
Add user and password configuration options to ActiveResource::Base, not all credentials can be specified inline. Closes #11112 [ernesto.jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8891 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activeresource/test/base')
-rw-r--r-- | activeresource/test/base/custom_methods_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activeresource/test/base/custom_methods_test.rb b/activeresource/test/base/custom_methods_test.rb index c6dda524fe..62c33ef9bc 100644 --- a/activeresource/test/base/custom_methods_test.rb +++ b/activeresource/test/base/custom_methods_test.rb @@ -32,6 +32,9 @@ class CustomMethodsTest < Test::Unit::TestCase mock.put "/people/1/addresses/sort.xml?by=name", {}, nil, 204 mock.post "/people/1/addresses/new/link.xml", {}, { :street => '12345 Street' }.to_xml(:root => 'address'), 201, 'Location' => '/people/1/addresses/2.xml' end + + Person.user = nil + Person.password = nil end def teardown |