From 89e663122b1c114f9b7566cd42c5bbee4873430a Mon Sep 17 00:00:00 2001 From: Clement Ho Date: Sat, 1 Oct 2016 12:18:44 -0500 Subject: Changed zero padded days to no padded days in date_format --- spec/features/calendar_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 } -- cgit v1.2.1