From d3bcbf03677e8b82c416dda0ac917c77ae5e3128 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 26 Feb 2010 15:07:28 +0000 Subject: [PATCH 1/1] Fix test for viewing an unknown user to actually specify a name - what it was doing before was testing whether the null user existed. --- test/functional/user_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"} -- 2.43.2