From c72a72fe31139bceb682857d2683989a99b6b51d Mon Sep 17 00:00:00 2001 From: lukemelia Date: Fri, 2 Feb 2007 05:58:21 +0000 Subject: [PATCH] replace deprecated assertions git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@418 a4c988fc-2ded-0310-b66e-134b36920a42 --- tracks/test/functional/todos_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracks/test/functional/todos_controller_test.rb b/tracks/test/functional/todos_controller_test.rb index ba02daaa..4720ec9c 100644 --- a/tracks/test/functional/todos_controller_test.rb +++ b/tracks/test/functional/todos_controller_test.rb @@ -81,7 +81,7 @@ class TodosControllerTest < Test::Unit::TestCase @user = User.find(@request.session['user_id']) @tagged = Todo.find_tagged_with('foo', @user).size get :tag, :id => 'foo' - assert_success + assert_response :success assert_equal 2, @tagged end