diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-04-06 21:57:04 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-04-06 21:57:46 +0200 |
commit | 57c353fca7121a120142161b253004f33d815766 (patch) | |
tree | 8585ef048a2bb138f9eca4c5e34874efd396a045 /spec | |
parent | 9d4b6f2261e8c1dc24949f19aab21850ab487b25 (diff) | |
download | gitlab-ce-57c353fca7121a120142161b253004f33d815766.tar.gz |
Fix tests and review
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/project_spec.rb | 1 | ||||
-rw-r--r-- | spec/services/ci/process_pipeline_service_spec.rb | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb index 59a2560ca06..a899cfcceb7 100644 --- a/spec/models/project_spec.rb +++ b/spec/models/project_spec.rb @@ -57,6 +57,7 @@ describe Project, models: true do it { is_expected.to have_many(:builds) } it { is_expected.to have_many(:runner_projects) } it { is_expected.to have_many(:runners) } + it { is_expected.to have_many(:active_runners) } it { is_expected.to have_many(:variables) } it { is_expected.to have_many(:triggers) } it { is_expected.to have_many(:pages_domains) } diff --git a/spec/services/ci/process_pipeline_service_spec.rb b/spec/services/ci/process_pipeline_service_spec.rb index d7df6c5c22e..245e19822f3 100644 --- a/spec/services/ci/process_pipeline_service_spec.rb +++ b/spec/services/ci/process_pipeline_service_spec.rb @@ -463,8 +463,7 @@ describe Ci::ProcessPipelineService, '#execute', :services do end def manual_actions - pipeline.reload - pipeline.manual_actions + pipeline.manual_actions(true) end def create_build(name, **opts) |