From 6c0452758df16038468bcf256da9cc8d2bb6f6e9 Mon Sep 17 00:00:00 2001 From: Chrisbr Date: Mon, 2 Jun 2014 13:06:41 +0200 Subject: [PATCH] Fix social events view test --- spec/views/admin/social_events/index.html.haml_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/views/admin/social_events/index.html.haml_spec.rb b/spec/views/admin/social_events/index.html.haml_spec.rb index f2b3caaa..650828a2 100644 --- a/spec/views/admin/social_events/index.html.haml_spec.rb +++ b/spec/views/admin/social_events/index.html.haml_spec.rb @@ -10,6 +10,6 @@ describe 'admin/social_events/index' do expect(rendered).to include('Lorem Ipsum Dolsum') expect(rendered).to include("#{Date.today.strftime('%Y')}") expect(rendered).to include("#{Date.today.strftime('%B')}") - expect(rendered).to include("#{Date.today.strftime('%d')}") + expect(rendered).to include("#{Date.today.strftime('%-d')}") end end