diff options
author | Takuya Noguchi <takninnovationresearch@gmail.com> | 2018-06-03 23:45:26 +0900 |
---|---|---|
committer | Takuya Noguchi <takninnovationresearch@gmail.com> | 2018-06-04 00:40:47 +0900 |
commit | 3f55e0b29fe39c5fd31c703911c96808bd17335d (patch) | |
tree | 482c6cf7c55358974a5da8a84040a937c0e620bf /spec/features/merge_request/user_posts_notes_spec.rb | |
parent | fe0ebf76c49e2512b211c5d43152275c536f7e3a (diff) | |
download | gitlab-ce-3f55e0b29fe39c5fd31c703911c96808bd17335d.tar.gz |
Use the default strings of timeago.js for timeago
Diffstat (limited to 'spec/features/merge_request/user_posts_notes_spec.rb')
-rw-r--r-- | spec/features/merge_request/user_posts_notes_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/merge_request/user_posts_notes_spec.rb b/spec/features/merge_request/user_posts_notes_spec.rb index b54addce993..3bd9f5e2298 100644 --- a/spec/features/merge_request/user_posts_notes_spec.rb +++ b/spec/features/merge_request/user_posts_notes_spec.rb @@ -139,7 +139,7 @@ describe 'Merge request > User posts notes', :js do page.within("#note_#{note.id}") do is_expected.to have_css('.note_edited_ago') expect(find('.note_edited_ago').text) - .to match(/less than a minute ago/) + .to match(/just now/) end end end |