diff options
author | dixpac <dino.onex@gmail.com> | 2016-08-13 15:45:31 +0300 |
---|---|---|
committer | dixpac <dino.onex@gmail.com> | 2017-02-08 11:16:43 +0300 |
commit | 0dacf3c169a85e6f3a1c70f3f5e377d47f770d19 (patch) | |
tree | 9a7ceb14b6a7aa96636a4024df06fa37c782a3ee /spec/services/notes | |
parent | a965edb89d3c260394ffc987832a469e7740415d (diff) |
Fix inconsistent naming for services that delete things
* Changed name of delete_user_service and worker to destroy
* Move and change delete_group_service to Groups::DestroyService
* Rename Notes::DeleteService to Notes::DestroyService
Diffstat (limited to 'spec/services/notes')
-rw-r--r-- | spec/services/notes/destroy_service_spec.rb (renamed from spec/services/notes/delete_service_spec.rb) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/notes/delete_service_spec.rb b/spec/services/notes/destroy_service_spec.rb index 1d0a747a480..f53f96e0c2b 100644 --- a/spec/services/notes/delete_service_spec.rb +++ b/spec/services/notes/destroy_service_spec.rb @@ -1,6 +1,6 @@ require 'spec_helper' -describe Notes::DeleteService, services: true do +describe Notes::DestroyService, services: true do describe '#execute' do it 'deletes a note' do project = create(:empty_project) |