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:
authorKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-04-06 13:10:03 +0300
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-04-06 13:10:03 +0300
commit70982bb420ad69e354db9b6999feed4e4fab9dc1 (patch)
tree1b4f66af28813ba2582dc3e2b0008895f4626109 /spec/models/environment_spec.rb
parent47907a417214e3d5c1ce350307795241f0cada38 (diff)
Hopefully this works
Diffstat (limited to 'spec/models/environment_spec.rb')
-rw-r--r--spec/models/environment_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/environment_spec.rb b/spec/models/environment_spec.rb
index c8f4e9ff50e..af7753caba6 100644
--- a/spec/models/environment_spec.rb
+++ b/spec/models/environment_spec.rb
@@ -116,7 +116,7 @@ describe Environment, models: true do
end
it 'calls GitalyClient' do
- expect(Gitlab::GitalyClient::Ref).to receive(:find_ref_name).with(project.repository.raw_repository, commit.id, environment.ref_path)
+ expect_any_instance_of(Gitlab::GitalyClient::Ref).to receive(:find_ref_name)
environment.first_deployment_for(commit)
end