get tests running again

This commit is contained in:
Reinier Balt 2009-08-05 21:00:41 +02:00
parent b28de88f4d
commit 4ed5567885
4 changed files with 5 additions and 5 deletions

View file

@ -84,7 +84,7 @@ class UsersXmlApiTest < ActionController::IntegrationTest
end
def test_get_user_as_xml
get "/users/#{users(:other_user).login}.xml", {}, basic_auth_headers()
get "/users/#{users(:other_user).id}.xml", {}, basic_auth_headers()
assert_response :success
assert_tag :tag => "user"
assert_no_tag :tag => "password"
@ -104,4 +104,4 @@ class UsersXmlApiTest < ActionController::IntegrationTest
assert_response_and_body 404, "Expected post format is valid xml like so: <request><login>username</login><password>abc123</password></request>."
end
end
end