summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorKamil TrzciƄski <ayufan@ayufan.eu>2018-05-08 22:39:28 +0200
committerDylan Griffith <dyl.griffith@gmail.com>2018-05-09 06:57:40 +0200
commita57c953e0e6ca03f929fb59f13307405822dfcb9 (patch)
tree73d0b907e2811f75a5346f546b325b4a1ffd8fe2 /spec
parent09747ecd3317fc2e1be54f4c944b718f5edf4ae9 (diff)
downloadgitlab-ce-a57c953e0e6ca03f929fb59f13307405822dfcb9.tar.gz
Set `runner_type` for cluster/application
Diffstat (limited to 'spec')
-rw-r--r--spec/models/clusters/applications/runner_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/models/clusters/applications/runner_spec.rb b/spec/models/clusters/applications/runner_spec.rb
index 64d995a73c1..5f2c723d483 100644
--- a/spec/models/clusters/applications/runner_spec.rb
+++ b/spec/models/clusters/applications/runner_spec.rb
@@ -74,9 +74,8 @@ describe Clusters::Applications::Runner do
it 'assigns the new runner to runner' do
subject
- gitlab_runner.reload
- expect(gitlab_runner.runner).not_to be_nil
+ expect(gitlab_runner.reload.runner).to be_project_type
end
end