diff options
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 |