summaryrefslogtreecommitdiff
path: root/spec/workers
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2016-12-06 13:54:16 +0000
committerSean McGivern <sean@mcgivern.me.uk>2016-12-06 13:54:16 +0000
commit0ff8f002e2d930490868986e26486fbfb58a377b (patch)
treee6b13f77ef84360bccfaeb94fd70f09ea2654b6b /spec/workers
parent532c031915597a660ab21de0cd11f8255e54c03d (diff)
parent10960400245ca338e32a3c55538ace976df962c6 (diff)
downloadgitlab-ce-0ff8f002e2d930490868986e26486fbfb58a377b.tar.gz
Merge branch 'zj-guest-reads-public-builds' into 'master'
Guests can read builds if those are public See merge request !6842
Diffstat (limited to 'spec/workers')
-rw-r--r--spec/workers/pipeline_notification_worker_spec.rb2
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 739f9b63967..603ae52ed1e 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) }
+ let(:project) { create(:project, public_builds: false) }
let(:user) { create(:user) }
let(:pusher) { user }
let(:watcher) { pusher }