diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-10-04 17:33:05 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-10-04 17:33:05 +0900 |
commit | d3b9e4ef38f09a9be84b687f847984d5605cc95a (patch) | |
tree | f7f0a2106d284acad8f7d47a1bfce34d432a119f /spec/models | |
parent | 9d3142425f0baa35e32a8cd494b684d30fb6abaa (diff) | |
download | gitlab-ce-d3b9e4ef38f09a9be84b687f847984d5605cc95a.tar.gz |
Fix spec according to the Ci::Pipeline#delay rename
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/ci/pipeline_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/ci/pipeline_spec.rb b/spec/models/ci/pipeline_spec.rb index 0a570394192..b19e75a956d 100644 --- a/spec/models/ci/pipeline_spec.rb +++ b/spec/models/ci/pipeline_spec.rb @@ -75,8 +75,8 @@ describe Ci::Pipeline, :mailer do end end - describe '#schedule' do - subject { pipeline.schedule } + describe '#delay' do + subject { pipeline.delay } let(:pipeline) { build(:ci_pipeline, status: :created) } |