summaryrefslogtreecommitdiff
path: root/spec/requests/groups/milestones_controller_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests/groups/milestones_controller_spec.rb')
-rw-r--r--spec/requests/groups/milestones_controller_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/requests/groups/milestones_controller_spec.rb b/spec/requests/groups/milestones_controller_spec.rb
index 2c4d97ec4c3..4afdde8be04 100644
--- a/spec/requests/groups/milestones_controller_spec.rb
+++ b/spec/requests/groups/milestones_controller_spec.rb
@@ -10,6 +10,7 @@ RSpec.describe Groups::MilestonesController do
let!(:public_project_with_private_issues_and_mrs) do
create(:project, :public, :issues_private, :merge_requests_private, group: public_group)
end
+
let!(:private_milestone) { create(:milestone, project: public_project_with_private_issues_and_mrs, title: 'project milestone') }
describe 'GET #index' do