diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2017-05-05 15:01:50 +0300 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2017-05-05 15:01:50 +0300 |
commit | 8c4c40d09b6947f4ac652dd76cc422fea2a6443d (patch) | |
tree | 5a04f1a8710bcb97de6f3a170a405669cba18c41 /spec/services/merge_requests/update_service_spec.rb | |
parent | cca09bbb1864bf300157d4d9c5500b83acf9f5c7 (diff) |
Updated specs
Diffstat (limited to 'spec/services/merge_requests/update_service_spec.rb')
-rw-r--r-- | spec/services/merge_requests/update_service_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/services/merge_requests/update_service_spec.rb b/spec/services/merge_requests/update_service_spec.rb index f2ca1e6fcbd..98fc41f2ac0 100644 --- a/spec/services/merge_requests/update_service_spec.rb +++ b/spec/services/merge_requests/update_service_spec.rb @@ -102,6 +102,13 @@ describe MergeRequests::UpdateService, services: true do expect(note.note).to eq 'changed title from **{-Old-} title** to **{+New+} title**' end + it 'creates system note about description change' do + note = find_note('changed the description') + + expect(note).not_to be_nil + expect(note.note).to eq('changed the description') + end + it 'creates system note about branch change' do note = find_note('changed target') |