Commit 20972691 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Fix the system_hook test.

parent ecfd33c1
......@@ -59,7 +59,7 @@
user = create(:user)
project = create(:project)
project.team << [user, :master]
project.users_projects.clear
project.users_projects.destroy_all
WebMock.should have_requested(:post, @system_hook.url).with(body: /user_remove_from_team/).once
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment