summaryrefslogtreecommitdiff
path: root/spec/features/dashboard
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-06-09 14:35:11 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-09 14:38:24 -0500
commit541e663c125f322cdbb680a9081f2e8470d9ef4e (patch)
tree0b0832c3757f9995ed9db35283e7f98a2c153182 /spec/features/dashboard
parent89523396ba3e0af1a0b3a90cdae5b28d06219816 (diff)
downloadgitlab-ce-541e663c125f322cdbb680a9081f2e8470d9ef4e.tar.gz
Change date format to be non zero padded in order to fix failing test
Diffstat (limited to 'spec/features/dashboard')
-rw-r--r--spec/features/dashboard/datetime_on_tooltips_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/dashboard/datetime_on_tooltips_spec.rb b/spec/features/dashboard/datetime_on_tooltips_spec.rb
index e77db0dd2a2..365cb445df1 100644
--- a/spec/features/dashboard/datetime_on_tooltips_spec.rb
+++ b/spec/features/dashboard/datetime_on_tooltips_spec.rb
@@ -6,7 +6,7 @@ feature 'Tooltips on .timeago dates', feature: true, js: true do
let(:user) { create(:user) }
let(:project) { create(:project, name: 'test', namespace: user.namespace) }
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 UTC') }
context 'on the activity tab' do
before do