aboutsummaryrefslogtreecommitdiffstats
path: root/spec/calendar_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/calendar_spec.rb')
-rw-r--r--spec/calendar_spec.rb2
1 files changed, 1 insertions, 1 deletions
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