summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorKamil TrzciƄski <ayufan@ayufan.eu>2018-05-28 12:49:08 +0200
committerDylan Griffith <dyl.griffith@gmail.com>2018-05-31 10:56:41 +0200
commitc6e95b04405f1e07f76505b03c6c096f4c4d084b (patch)
treec1d36122def40f8b0912b822bfcab764d646f39b /spec
parentd9251f2ea047d359d1d7d4799d1ba84da5896f64 (diff)
downloadgitlab-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.rb2
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