mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-07 16:24:21 +01:00
restore all associations for tags. All tests are passing
This commit is contained in:
parent
b2e34d4694
commit
b2e6253b4c
8 changed files with 107 additions and 41 deletions
|
|
@ -261,7 +261,7 @@ class TodosControllerTest < ActionController::TestCase
|
|||
def test_find_tagged_with
|
||||
login_as(:admin_user)
|
||||
@user = User.find(@request.session['user_id'])
|
||||
tag = Tag.find_by_name('foo').todos
|
||||
tag = Tag.find_by_name('foo').taggings
|
||||
@tagged = tag.count
|
||||
get :tag, :name => 'foo'
|
||||
assert_response :success
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue