diff options
author | Jose <jivanvl@hotmail.com> | 2018-04-25 23:56:06 +0300 |
---|---|---|
committer | Jose <jivanvl@hotmail.com> | 2018-04-25 23:58:19 +0300 |
commit | bb650ad05240a54497599b6a884ac0f7f8fa1629 (patch) | |
tree | 2fef5f638f87523812458c383c9fb42737f014cc /spec | |
parent | 3d12ce95b1307f9b8439aab9ac5fe9d406ab9b01 (diff) |
Remove comma from the time system notes
Diffstat (limited to 'spec')
-rw-r--r-- | spec/services/system_note_service_spec.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/spec/services/system_note_service_spec.rb b/spec/services/system_note_service_spec.rb index 893804f1470..e28b0ea5cf2 100644 --- a/spec/services/system_note_service_spec.rb +++ b/spec/services/system_note_service_spec.rb @@ -909,13 +909,7 @@ describe SystemNoteService do it 'sets the note text' do noteable.update_attribute(:time_estimate, 277200) - expect(subject.note).to eq "changed time estimate to 1w 4d 5h," - end - - it 'appends a comma to separate the note from the update_at time' do - noteable.update_attribute(:time_estimate, 277200) - - expect(subject.note).to end_with(',') + expect(subject.note).to eq "changed time estimate to 1w 4d 5h" end end |