replace deprecated assertions

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@418 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lukemelia 2007-02-02 05:58:21 +00:00
parent 59f5cea7b8
commit c72a72fe31

View file

@ -81,7 +81,7 @@ class TodosControllerTest < Test::Unit::TestCase
@user = User.find(@request.session['user_id']) @user = User.find(@request.session['user_id'])
@tagged = Todo.find_tagged_with('foo', @user).size @tagged = Todo.find_tagged_with('foo', @user).size
get :tag, :id => 'foo' get :tag, :id => 'foo'
assert_success assert_response :success
assert_equal 2, @tagged assert_equal 2, @tagged
end end