summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-03-27 13:11:39 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-03-27 18:45:36 -0400
commit8ec8aa147115aa953a9b38d3326ebf7ee130ea3f (patch)
tree898ed83c5e498738ba95f1dd1510b3cd3af4b29c /spec/support
parentd4c99f644a2da2aa340aee8bc10c1dcf7c9e0d18 (diff)
downloadgitlab-ce-8ec8aa147115aa953a9b38d3326ebf7ee130ea3f.tar.gz
Use `:empty_project` where possible in mailer specs
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/notify_shared_examples.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/notify_shared_examples.rb b/spec/support/notify_shared_examples.rb
index 16a425f2ca2..76411065265 100644
--- a/spec/support/notify_shared_examples.rb
+++ b/spec/support/notify_shared_examples.rb
@@ -3,7 +3,7 @@ shared_context 'gitlab email notification' do
let(:gitlab_sender) { Gitlab.config.gitlab.email_from }
let(:gitlab_sender_reply_to) { Gitlab.config.gitlab.email_reply_to }
let(:recipient) { create(:user, email: 'recipient@example.com') }
- let(:project) { create(:project) }
+ let(:project) { create(:empty_project) }
let(:new_user_address) { 'newguy@example.com' }
before do