Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-07-27 10:03:50 +0300
committerTimothy Andrew <mail@timothyandrew.net>2016-07-29 12:50:39 +0300
commitc93a895abc434b9b78aa7cf4d285ce309cfd868a (patch)
treec6b8ef773c61843da4515aaa4683a466a67c223a /app/controllers/projects/protected_branches_controller.rb
parent6d841eaadcbccfa4527bd892bf86fc8dbba19455 (diff)
Fix `git_push_service_spec`
1. Caused by incorrect test setup. The user wasn't added to the project, so protected branch creation failed authorization. 2. Change setup for a different test (`Event.last` to `Event.find_by_action`) because our `project.team << ...` addition was causing a conflict.
Diffstat (limited to 'app/controllers/projects/protected_branches_controller.rb')
0 files changed, 0 insertions, 0 deletions