diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2019-02-25 14:36:30 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2019-02-25 14:36:30 +0300 |
commit | c6b9ac860c654ec305c779ac1843e1d2ad096c31 (patch) | |
tree | 30e6af48ff7f25438572b24d95871628399f6c97 /spec/models | |
parent | a15a0f3a2a8c65b96c74d2e9612495a4badaea8f (diff) | |
parent | 7ba89e4ac40afb4ed16865b0c3ac286217c2d64c (diff) |
Merge branch 'expose-merge-ref-to-runner' into 'master'
Expose refspec and depth to runner
See merge request gitlab-org/gitlab-ce!25233
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/ci/build_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb index 47865e4d08f..17540443688 100644 --- a/spec/models/ci/build_spec.rb +++ b/spec/models/ci/build_spec.rb @@ -23,6 +23,7 @@ describe Ci::Build do it { is_expected.to validate_presence_of(:ref) } it { is_expected.to respond_to(:has_trace?) } it { is_expected.to respond_to(:trace) } + it { is_expected.to delegate_method(:merge_request?).to(:pipeline) } it { is_expected.to be_a(ArtifactMigratable) } |