From 3deb66ea569cde62c3213b2671532c0db3c7263d Mon Sep 17 00:00:00 2001 From: Semyon Pupkov Date: Thu, 2 Feb 2017 15:10:25 +0500 Subject: Add traits for ProjectFeatures to Project factory https://gitlab.com/gitlab-org/gitlab-ce/issues/24007 --- spec/lib/gitlab/contributions_calendar_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/lib/gitlab/contributions_calendar_spec.rb') diff --git a/spec/lib/gitlab/contributions_calendar_spec.rb b/spec/lib/gitlab/contributions_calendar_spec.rb index 01b2a55b63c..e18a219ef36 100644 --- a/spec/lib/gitlab/contributions_calendar_spec.rb +++ b/spec/lib/gitlab/contributions_calendar_spec.rb @@ -17,7 +17,7 @@ describe Gitlab::ContributionsCalendar do end let(:feature_project) do - create(:empty_project, :public, issues_access_level: ProjectFeature::PRIVATE) do |project| + create(:empty_project, :public, :issues_private) do |project| create(:project_member, user: contributor, project: project).project end end -- cgit v1.2.1