Skip to content
Snippets Groups Projects
Commit 20972691 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Fix the system_hook test.

parent ecfd33c1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -59,7 +59,7 @@ describe SystemHook do
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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment