diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-06-06 20:23:19 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-06-06 21:19:07 +0800 |
commit | e86e1e515a7a4e4e1ee53d3d33bdfebfddd226a6 (patch) | |
tree | 42b4d18a02ca2307dcbc6c0a262904ee3427c0fa /spec/workers | |
parent | 9984f07a28273035d6c989913cb76c9c371965d0 (diff) | |
download | gitlab-ce-e86e1e515a7a4e4e1ee53d3d33bdfebfddd226a6.tar.gz |
Try to report why it's failing and fix tests
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/post_receive_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/workers/post_receive_spec.rb b/spec/workers/post_receive_spec.rb index f4bc63bcc6a..7da48647bb5 100644 --- a/spec/workers/post_receive_spec.rb +++ b/spec/workers/post_receive_spec.rb @@ -82,6 +82,7 @@ describe PostReceive do OpenStruct.new(id: '123456') end allow_any_instance_of(Ci::CreatePipelineService).to receive(:branch?).and_return(true) + allow_any_instance_of(Repository).to receive(:ref_exists?).and_return(true) stub_ci_pipeline_to_return_yaml_file end |