diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-01-26 18:51:57 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-01-26 18:52:10 -0500 |
commit | 9a31ecbef23843179d4896016e1b8ae310d96e68 (patch) | |
tree | 20a1bafd93639c444386a941f9270edac7905598 /spec/requests/projects | |
parent | f27721e842b608f4a63bd0bc59ce77175ae530ca (diff) | |
download | gitlab-ce-9a31ecbef23843179d4896016e1b8ae310d96e68.tar.gz |
Use `:empty_project` where possible in request specsrs-empty_project-requests
Diffstat (limited to 'spec/requests/projects')
-rw-r--r-- | spec/requests/projects/artifacts_controller_spec.rb | 2 | ||||
-rw-r--r-- | spec/requests/projects/cycle_analytics_events_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/projects/artifacts_controller_spec.rb b/spec/requests/projects/artifacts_controller_spec.rb index e02f0eacc93..d20866c0d44 100644 --- a/spec/requests/projects/artifacts_controller_spec.rb +++ b/spec/requests/projects/artifacts_controller_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' describe Projects::ArtifactsController do let(:user) { create(:user) } - let(:project) { create(:project) } + let(:project) { create(:project, :repository) } let(:pipeline) do create(:ci_pipeline, diff --git a/spec/requests/projects/cycle_analytics_events_spec.rb b/spec/requests/projects/cycle_analytics_events_spec.rb index 28b485e4b15..0edbffbcd3b 100644 --- a/spec/requests/projects/cycle_analytics_events_spec.rb +++ b/spec/requests/projects/cycle_analytics_events_spec.rb @@ -4,7 +4,7 @@ describe 'cycle analytics events' do include ApiHelpers let(:user) { create(:user) } - let(:project) { create(:project, public_builds: false) } + let(:project) { create(:project, :repository, public_builds: false) } let(:issue) { create(:issue, project: project, created_at: 2.days.ago) } describe 'GET /:namespace/:project/cycle_analytics/events/issues' do |