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:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-02 17:19:18 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-02 17:59:04 +0300
commit021d3810c300d1e0514f21ccb6f1439f59e20565 (patch)
tree771a663395f39530559c73016f26087a0489fae2 /spec/support/stub_gitlab_calls.rb
parent5accd87ad7b0d960e504910d896a832288e51c8d (diff)
Rename Ci::Commit to Ci::Pipeline and rename some of the ci_commit to pipeline
Diffstat (limited to 'spec/support/stub_gitlab_calls.rb')
-rw-r--r--spec/support/stub_gitlab_calls.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/stub_gitlab_calls.rb b/spec/support/stub_gitlab_calls.rb
index f73416a3d0f..49660a48a86 100644
--- a/spec/support/stub_gitlab_calls.rb
+++ b/spec/support/stub_gitlab_calls.rb
@@ -18,7 +18,7 @@ module StubGitlabCalls
end
def stub_ci_commit_yaml_file(ci_yaml)
- allow_any_instance_of(Ci::Commit).to receive(:ci_yaml_file) { ci_yaml }
+ allow_any_instance_of(Ci::Pipeline).to receive(:ci_yaml_file) { ci_yaml }
end
def stub_ci_builds_disabled