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:
authorJose <jivanvl@hotmail.com>2018-04-25 23:56:06 +0300
committerJose <jivanvl@hotmail.com>2018-04-25 23:58:19 +0300
commitbb650ad05240a54497599b6a884ac0f7f8fa1629 (patch)
tree2fef5f638f87523812458c383c9fb42737f014cc /spec
parent3d12ce95b1307f9b8439aab9ac5fe9d406ab9b01 (diff)
Remove comma from the time system notes
Diffstat (limited to 'spec')
-rw-r--r--spec/services/system_note_service_spec.rb8
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