Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-09-15 16:42:02 +0300
committerValery Sizov <vsv2711@gmail.com>2015-09-15 17:43:17 +0300
commitb87ca7500f174cc9a4e90b262b02aa9bf695fbee (patch)
tree252237f0ea72354fbd2ec140580bcca7503a400f /spec/models/ci/runner_spec.rb
parent88b3195ecfd2d0d74c4e76ce79961cb6db2f8643 (diff)
fix specs. Stage 7
Diffstat (limited to 'spec/models/ci/runner_spec.rb')
-rw-r--r--spec/models/ci/runner_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/ci/runner_spec.rb b/spec/models/ci/runner_spec.rb
index c6130b69964..757593a7ab8 100644
--- a/spec/models/ci/runner_spec.rb
+++ b/spec/models/ci/runner_spec.rb
@@ -22,7 +22,7 @@ require 'spec_helper'
describe Ci::Runner do
describe '#display_name' do
it 'should return the description if it has a value' do
- runner = FactoryGirl.build(:runner, description: 'Linux/Ruby-1.9.3-p448')
+ runner = FactoryGirl.build(:ci_runner, description: 'Linux/Ruby-1.9.3-p448')
expect(runner.display_name).to eq 'Linux/Ruby-1.9.3-p448'
end
@@ -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(:runner, description: '')
+ runner = FactoryGirl.build(:ci_runner, description: '')
expect(runner.display_name).to eq runner.token
end
end