summaryrefslogtreecommitdiff
path: root/spec/controllers
diff options
context:
space:
mode:
authorMark Chao <mchao@gitlab.com>2018-10-25 21:48:03 +0800
committerMark Chao <mchao@gitlab.com>2018-11-07 11:33:02 +0800
commitd52af8b1c2041ecd4219f0ad320208afe3ebad16 (patch)
tree0fa8ea269955e345c503b142d97206f6d8939d2d /spec/controllers
parent67b579c54e77a28db2736401e698f609a713d0f3 (diff)
downloadgitlab-ce-d52af8b1c2041ecd4219f0ad320208afe3ebad16.tar.gz
Fix spec in EE which now trigger access to repository
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/projects/milestones_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects/milestones_controller_spec.rb b/spec/controllers/projects/milestones_controller_spec.rb
index 3190f1ce9d4..ccd4fc4db3a 100644
--- a/spec/controllers/projects/milestones_controller_spec.rb
+++ b/spec/controllers/projects/milestones_controller_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
describe Projects::MilestonesController do
- let(:project) { create(:project) }
+ let(:project) { create(:project, :repository) }
let(:user) { create(:user) }
let(:milestone) { create(:milestone, project: project) }
let(:issue) { create(:issue, project: project, milestone: milestone) }