Update test
This commit is contained in:
@@ -12,7 +12,7 @@ class Assignments::TogglesControllerTest < ActionDispatch::IntegrationTest
|
||||
assert_redirected_to bubbles(:logo)
|
||||
|
||||
assert_changes "bubbles(:logo).assigned_to?(users(:david))", from: true, to: false do
|
||||
post bucket_bubble_assignment_toggles_url(buckets(:writebook), bubbles(:logo)), params: { assignee_id: users(:david).id }
|
||||
post bucket_bubble_assignment_toggles_url(buckets(:writebook), bubbles(:logo)), params: { assignee_id: users(:kevin).id }
|
||||
end
|
||||
assert_redirected_to bubbles(:logo)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user