diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-10 11:16:26 +0200 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-10 12:31:18 +0200 |
commit | 84fa061086250b9f59eb51eb8728702dfedb7546 (patch) | |
tree | cb8de4db6bf6e8c64d09bafe60ef2532ae709921 /spec/models | |
parent | 063b6b75be97440a96cda109bcb9d448920c7e49 (diff) | |
download | gitlab-ce-84fa061086250b9f59eb51eb8728702dfedb7546.tar.gz |
Ensure runner_type is updated correctly when assigning shared runner to project
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/ci/runner_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/ci/runner_spec.rb b/spec/models/ci/runner_spec.rb index eb59ba7cbe9..49d096ebb39 100644 --- a/spec/models/ci/runner_spec.rb +++ b/spec/models/ci/runner_spec.rb @@ -207,6 +207,7 @@ describe Ci::Runner do end it { expect(shared_runner).to be_specific } + it { expect(shared_runner).to be_project_type } it { expect(shared_runner.projects).to eq([project]) } it { expect(shared_runner.only_for?(project)).to be_truthy } end |