diff options
author | Peter Leitzen <pl@neopoly.de> | 2018-07-23 23:01:23 +0300 |
---|---|---|
committer | Peter Leitzen <pl@neopoly.de> | 2018-08-10 17:45:11 +0300 |
commit | 7405a7ae5fd9155ef90cc62988214135503eb99b (patch) | |
tree | bc5ae82eb4984ea7d4ec0c1abd29ae0d4ef3c6cc /spec/services/notes/quick_actions_service_spec.rb | |
parent | 18611f0eebe0bb3646c7f32bd333b92c184771eb (diff) |
Rename Commits::UpdateService to Commits::TagService
Diffstat (limited to 'spec/services/notes/quick_actions_service_spec.rb')
-rw-r--r-- | spec/services/notes/quick_actions_service_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/notes/quick_actions_service_spec.rb b/spec/services/notes/quick_actions_service_spec.rb index b3ee0cadcb7..a8c994c101c 100644 --- a/spec/services/notes/quick_actions_service_spec.rb +++ b/spec/services/notes/quick_actions_service_spec.rb @@ -119,10 +119,10 @@ describe Notes::QuickActionsService do expect(described_class.noteable_update_service(note)).to eq(MergeRequests::UpdateService) end - it 'returns Commits::UpdateService for a note on a commit' do + it 'returns Commits::TagService for a note on a commit' do note = create(:note_on_commit, project: project) - expect(described_class.noteable_update_service(note)).to eq(Commits::UpdateService) + expect(described_class.noteable_update_service(note)).to eq(Commits::TagService) end end |