From: Tom Hughes Date: Fri, 26 Feb 2010 15:07:28 +0000 (+0000) Subject: Fix test for viewing an unknown user to actually specify a name - what X-Git-Tag: live~6372^2~12 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/d3bcbf03677e8b82c416dda0ac917c77ae5e3128?ds=sidebyside Fix test for viewing an unknown user to actually specify a name - what it was doing before was testing whether the null user existed. --- diff --git a/test/functional/user_controller_test.rb b/test/functional/user_controller_test.rb index 058cab0ec..f0e945e20 100644 --- a/test/functional/user_controller_test.rb +++ b/test/functional/user_controller_test.rb @@ -65,7 +65,7 @@ class UserControllerTest < ActionController::TestCase # Check that the user account page will display and contains some relevant # information for the user def test_view_user_account - get :view + get :view, {:display_name => "unknown"} assert_response :not_found get :view, {:display_name => "test"}