diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-03-27 23:42:08 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-03-28 01:45:37 +0300 |
commit | 68e671893247326a28fc3e5d139ae2c3060e628c (patch) | |
tree | a005e651f8109ca6d653a624dbdf3a2a05e9a438 /spec/workers/pipeline_notification_worker_spec.rb | |
parent | 985a0c39ef29db3c3c2c3aa386b2d332d9e98018 (diff) |
Use `:empty_project` where possible in worker specs
Diffstat (limited to 'spec/workers/pipeline_notification_worker_spec.rb')
-rw-r--r-- | spec/workers/pipeline_notification_worker_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/pipeline_notification_worker_spec.rb b/spec/workers/pipeline_notification_worker_spec.rb index 603ae52ed1e..5a7ce2e08c4 100644 --- a/spec/workers/pipeline_notification_worker_spec.rb +++ b/spec/workers/pipeline_notification_worker_spec.rb @@ -11,7 +11,7 @@ describe PipelineNotificationWorker do status: status) end - let(:project) { create(:project, public_builds: false) } + let(:project) { create(:project, :repository, public_builds: false) } let(:user) { create(:user) } let(:pusher) { user } let(:watcher) { pusher } |