summaryrefslogtreecommitdiff
path: root/spec/services/milestones
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/services/milestones
parent67b579c54e77a28db2736401e698f609a713d0f3 (diff)
downloadgitlab-ce-d52af8b1c2041ecd4219f0ad320208afe3ebad16.tar.gz
Fix spec in EE which now trigger access to repository
Diffstat (limited to 'spec/services/milestones')
-rw-r--r--spec/services/milestones/destroy_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/milestones/destroy_service_spec.rb b/spec/services/milestones/destroy_service_spec.rb
index 8680e428517..9d2be30c636 100644
--- a/spec/services/milestones/destroy_service_spec.rb
+++ b/spec/services/milestones/destroy_service_spec.rb
@@ -2,7 +2,7 @@ require 'spec_helper'
describe Milestones::DestroyService do
let(:user) { create(:user) }
- let(:project) { create(:project) }
+ let(:project) { create(:project, :repository) }
let(:milestone) { create(:milestone, title: 'Milestone v1.0', project: project) }
before do