mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-25 19:48:48 +01:00
Merge pull request #2550 from TracksApp/fix_context_change_test
#2484: Fix test changing contexts. Why choose at random and occasiona…
This commit is contained in:
commit
fc264cf750
1 changed files with 2 additions and 2 deletions
|
|
@ -455,8 +455,8 @@ class TodosControllerTest < ActionController::TestCase
|
|||
# called by dragging a todo to another context container
|
||||
login_as(:admin_user)
|
||||
|
||||
todo = users(:admin_user).todos.active.first
|
||||
context = users(:admin_user).contexts.first
|
||||
todo = Todo.find(1)
|
||||
context = Context.find(2)
|
||||
|
||||
refute_equal todo.context.id, context.id
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue