diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-09-18 15:29:43 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-09-18 15:29:43 +0300 |
commit | d79ad28fcb44c35d77de26d428ae61bc6d71e8ec (patch) | |
tree | 0eab721907e46ad6f91b22f719850f32529569f9 /spec/models/ci | |
parent | 6681ea9cd8d7001a352c95237d625057b6147f0b (diff) |
Do not pass project path from YAML processor
Use project full path that can be received from a pipeline object
Diffstat (limited to 'spec/models/ci')
-rw-r--r-- | spec/models/ci/pipeline_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/ci/pipeline_spec.rb b/spec/models/ci/pipeline_spec.rb index 77f0be6b120..9c1e460ab20 100644 --- a/spec/models/ci/pipeline_spec.rb +++ b/spec/models/ci/pipeline_spec.rb @@ -26,6 +26,7 @@ describe Ci::Pipeline, :mailer do it { is_expected.to respond_to :git_author_name } it { is_expected.to respond_to :git_author_email } it { is_expected.to respond_to :short_sha } + it { is_expected.to delegate_method(:full_path).to(:project).with_prefix } describe '#source' do context 'when creating new pipeline' do |