mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-20 17:20:12 +01:00
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:
parent
59f5cea7b8
commit
c72a72fe31
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue