summaryrefslogtreecommitdiff
path: root/spec/views/notify/pipeline_success_email.html.haml_spec.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-08-01 14:51:52 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-08-01 14:51:52 -0400
commit9513bd18c43b749c8856d6ad89635d97c8fb73b5 (patch)
treeb55d7fb920f0d6a8e10eabae1cafa5126fa03203 /spec/views/notify/pipeline_success_email.html.haml_spec.rb
parent4c77c30fbfb3734fd893f7cfe540fa595ea6539c (diff)
downloadgitlab-ce-9513bd18c43b749c8856d6ad89635d97c8fb73b5.tar.gz
Ensure all project factories use `:repository` trait or `:empty_project`rs-empty_project-cleanup
Diffstat (limited to 'spec/views/notify/pipeline_success_email.html.haml_spec.rb')
-rw-r--r--spec/views/notify/pipeline_success_email.html.haml_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/notify/pipeline_success_email.html.haml_spec.rb b/spec/views/notify/pipeline_success_email.html.haml_spec.rb
index ecd096ee579..a793b37e412 100644
--- a/spec/views/notify/pipeline_success_email.html.haml_spec.rb
+++ b/spec/views/notify/pipeline_success_email.html.haml_spec.rb
@@ -4,7 +4,7 @@ describe 'notify/pipeline_success_email.html.haml' do
include Devise::Test::ControllerHelpers
let(:user) { create(:user) }
- let(:project) { create(:project) }
+ let(:project) { create(:project, :repository) }
let(:merge_request) { create(:merge_request, :simple, source_project: project) }
let(:pipeline) do