diff options
| author | Kamil TrzciĆski <ayufan@ayufan.eu> | 2018-05-28 12:49:08 +0200 |
|---|---|---|
| committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-31 10:56:41 +0200 |
| commit | c6e95b04405f1e07f76505b03c6c096f4c4d084b (patch) | |
| tree | c1d36122def40f8b0912b822bfcab764d646f39b /spec | |
| parent | d9251f2ea047d359d1d7d4799d1ba84da5896f64 (diff) | |
| download | gitlab-ce-c6e95b04405f1e07f76505b03c6c096f4c4d084b.tar.gz | |
Improve `Ci::Runner#assign_to` to return a flag whether it succeeded or not
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/models/ci/runner_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/runner_spec.rb b/spec/models/ci/runner_spec.rb index 08578c27e37..2f254956f92 100644 --- a/spec/models/ci/runner_spec.rb +++ b/spec/models/ci/runner_spec.rb @@ -200,7 +200,7 @@ describe Ci::Runner do let(:runner) { create(:ci_runner, :instance) } it 'transitions shared runner to project runner and assigns project' do - subject + expect(subject).to be_truthy expect(runner).to be_specific expect(runner).to be_project_type |
