summaryrefslogtreecommitdiff
path: root/spec/models/ci/runner_spec.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-10-14 14:21:49 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-10-14 17:38:26 +0200
commitd9ece71ef0677a1d3468697485db7cbcf1b83745 (patch)
tree9af7f58de6b61833495a8578454edd2d224c366b /spec/models/ci/runner_spec.rb
parent4d69c6a3361bbc673e853995e3896d31241aa748 (diff)
downloadgitlab-ce-d9ece71ef0677a1d3468697485db7cbcf1b83745.tar.gz
Fix specs
Diffstat (limited to 'spec/models/ci/runner_spec.rb')
-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 757593a7ab8..a401ae7fe51 100644
--- a/spec/models/ci/runner_spec.rb
+++ b/spec/models/ci/runner_spec.rb
@@ -32,7 +32,7 @@ describe Ci::Runner do
end
it 'should return the token if the description is an empty string' do
- runner = FactoryGirl.build(:ci_runner, description: '')
+ runner = FactoryGirl.build(:ci_runner, description: '', token: 'token')
expect(runner.display_name).to eq runner.token
end
end