From c23e146e3b9901505472c4f33d30883a7ae5440c Mon Sep 17 00:00:00 2001 From: Carlos Goce Date: Sat, 24 Jan 2015 22:42:05 +0100 Subject: Fix spec --- spec/calendar_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/calendar_spec.rb b/spec/calendar_spec.rb index 2dc7dc3..815f1b1 100644 --- a/spec/calendar_spec.rb +++ b/spec/calendar_spec.rb @@ -45,7 +45,7 @@ describe 'Calendar' do # todo Improve spec description it 'return the days available formated as array leaving blank days for the starting week\'s day' do days_for_january_2015 = ['', '', ''] + (1..31).to_a - expect(@calendar.to_h[:months][1][:formatted_days].first).to eq days_for_january_2015 + expect(@calendar.to_h[:months][1][:formatted_days]).to eq days_for_january_2015 end end -- cgit v1.2.3