Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPeter Leitzen <pl@neopoly.de>2018-07-23 23:01:23 +0300
committerPeter Leitzen <pl@neopoly.de>2018-08-10 17:45:11 +0300
commit7405a7ae5fd9155ef90cc62988214135503eb99b (patch)
treebc5ae82eb4984ea7d4ec0c1abd29ae0d4ef3c6cc /spec
parent18611f0eebe0bb3646c7f32bd333b92c184771eb (diff)
Rename Commits::UpdateService to Commits::TagService
Diffstat (limited to 'spec')
-rw-r--r--spec/services/commits/tag_service_spec.rb (renamed from spec/services/commits/update_service_spec.rb)2
-rw-r--r--spec/services/notes/quick_actions_service_spec.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/services/commits/update_service_spec.rb b/spec/services/commits/tag_service_spec.rb
index b4f260096ad..5e778681544 100644
--- a/spec/services/commits/update_service_spec.rb
+++ b/spec/services/commits/tag_service_spec.rb
@@ -1,6 +1,6 @@
require 'spec_helper'
-describe Commits::UpdateService do
+describe Commits::TagService do
let(:project) { create(:project, :repository) }
let(:user) { create(:user) }
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