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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-23 15:08:38 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-23 15:08:38 +0300
commit5ad0cf26551baff8f08af8562a8d45e6ec14d71a (patch)
tree57f1a6bad31bcd11efacd3fdfb9cc92f88fb6a86 /spec/models/note_spec.rb
parentf47c768fad17d4c876e96524f83f8306f071db66 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/note_spec.rb')
-rw-r--r--spec/models/note_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/models/note_spec.rb b/spec/models/note_spec.rb
index a6d9ecaa7c5..12a74632bb8 100644
--- a/spec/models/note_spec.rb
+++ b/spec/models/note_spec.rb
@@ -718,12 +718,12 @@ describe Note do
end
describe '#noteable_ability_name' do
- it 'returns project_snippet for a project snippet note' do
- expect(build(:note_on_project_snippet).noteable_ability_name).to eq('project_snippet')
+ it 'returns snippet for a project snippet note' do
+ expect(build(:note_on_project_snippet).noteable_ability_name).to eq('snippet')
end
- it 'returns personal_snippet for a personal snippet note' do
- expect(build(:note_on_personal_snippet).noteable_ability_name).to eq('personal_snippet')
+ it 'returns snippet for a personal snippet note' do
+ expect(build(:note_on_personal_snippet).noteable_ability_name).to eq('snippet')
end
it 'returns merge_request for an MR note' do