diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-23 15:08:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-23 15:08:38 +0300 |
commit | 5ad0cf26551baff8f08af8562a8d45e6ec14d71a (patch) | |
tree | 57f1a6bad31bcd11efacd3fdfb9cc92f88fb6a86 /spec/models/note_spec.rb | |
parent | f47c768fad17d4c876e96524f83f8306f071db66 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/note_spec.rb')
-rw-r--r-- | spec/models/note_spec.rb | 8 |
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 |