summaryrefslogtreecommitdiff
path: root/spec/services/create_release_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/create_release_service_spec.rb')
-rw-r--r--spec/services/create_release_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/create_release_service_spec.rb b/spec/services/create_release_service_spec.rb
index 61e5ae72f51..3a1f705d07c 100644
--- a/spec/services/create_release_service_spec.rb
+++ b/spec/services/create_release_service_spec.rb
@@ -5,7 +5,7 @@ describe CreateReleaseService, services: true do
let(:user) { create(:user) }
let(:tag_name) { project.repository.tag_names.first }
let(:description) { 'Awesome release!' }
- let(:service) { CreateReleaseService.new(project, user) }
+ let(:service) { described_class.new(project, user) }
it 'creates a new release' do
result = service.execute(tag_name, description)