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