diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-11-05 16:22:37 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-11-08 23:55:47 +0100 |
commit | 4fda9ef8a522352886fad08524b4ad4054a7eb60 (patch) | |
tree | fa2346f9e73c4fa49b1fbf9ccf24e5fa63f3219d /spec/services/ci | |
parent | b18671a1b2c565a87663544441000063f6b83c8e (diff) | |
download | gitlab-ce-shared_runners.tar.gz |
Fix testsshared_runners
Diffstat (limited to 'spec/services/ci')
-rw-r--r-- | spec/services/ci/register_build_service_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/services/ci/register_build_service_spec.rb b/spec/services/ci/register_build_service_spec.rb index 781764627ac..b370dfbe113 100644 --- a/spec/services/ci/register_build_service_spec.rb +++ b/spec/services/ci/register_build_service_spec.rb @@ -70,6 +70,10 @@ module Ci end context 'disallow shared runners' do + before do + gl_project.gitlab_ci_project.update(shared_runners_enabled: false) + end + context 'shared runner' do let(:build) { service.execute(shared_runner) } |