diff options
Diffstat (limited to 'spec/services/deployments/after_create_service_spec.rb')
-rw-r--r-- | spec/services/deployments/after_create_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/deployments/after_create_service_spec.rb b/spec/services/deployments/after_create_service_spec.rb index 605700c73b2..3aa137a866e 100644 --- a/spec/services/deployments/after_create_service_spec.rb +++ b/spec/services/deployments/after_create_service_spec.rb @@ -49,7 +49,7 @@ describe Deployments::AfterCreateService do it 'creates ref' do expect_any_instance_of(Repository) .to receive(:create_ref) - .with(deployment.sha, deployment.send(:ref_path)) + .with(deployment.sha, "refs/environments/production/deployments/#{deployment.iid}") service.execute end |