Commit 313aa339 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Merge branch 'remove-timezone-assertion-datetime-on-tooltips-spec' into 'master'

Remove time zone information from assertion in timeago tooltips spec

Closes #26183

See merge request !8374
parents 8dc2163c d69b7bec
...@@ -6,7 +6,7 @@ feature 'Tooltips on .timeago dates', feature: true, js: true do ...@@ -6,7 +6,7 @@ feature 'Tooltips on .timeago dates', feature: true, js: true do
let(:user) { create(:user) } let(:user) { create(:user) }
let(:project) { create(:project, name: 'test', namespace: user.namespace) } let(:project) { create(:project, name: 'test', namespace: user.namespace) }
let(:created_date) { Date.yesterday.to_time } let(:created_date) { Date.yesterday.to_time }
let(:expected_format) { created_date.strftime('%b %-d, %Y %l:%M%P UTC') } let(:expected_format) { created_date.strftime('%b %-d, %Y %l:%M%P') }
context 'on the activity tab' do context 'on the activity tab' do
before do before do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment