summaryrefslogtreecommitdiff
path: root/spec/features/calendar_spec.rb
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2016-10-01 12:18:44 -0500
committerClement Ho <ClemMakesApps@gmail.com>2016-10-01 12:18:44 -0500
commit89e663122b1c114f9b7566cd42c5bbee4873430a (patch)
treed477bdbb483b370a2be846fab08b0b5cc32a70d6 /spec/features/calendar_spec.rb
parent60b92c551d6f2a98c50e7e163197ef40ad3c7c0d (diff)
downloadgitlab-ce-89e663122b1c114f9b7566cd42c5bbee4873430a.tar.gz
Changed zero padded days to no padded days in date_format
Diffstat (limited to 'spec/features/calendar_spec.rb')
-rw-r--r--spec/features/calendar_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/features/calendar_spec.rb b/spec/features/calendar_spec.rb
index f52682f229c..7fa0c95cae2 100644
--- a/spec/features/calendar_spec.rb
+++ b/spec/features/calendar_spec.rb
@@ -5,7 +5,9 @@ feature 'Contributions Calendar', js: true, feature: true do
let(:contributed_project) { create(:project, :public) }
- date_format = '%A %b %d, %Y'
+ # Ex/ Sunday Jan 1, 2016
+ date_format = '%A %b %-d, %Y'
+
issue_title = 'Bug in old browser'
issue_params = { title: issue_title }