aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorCarlos Goce <carlosgoce@gmail.com>2015-01-24 22:42:05 +0100
committerCarlos Goce <carlosgoce@gmail.com>2015-01-24 22:42:05 +0100
commitc23e146e3b9901505472c4f33d30883a7ae5440c (patch)
tree1d505456fbbf9e08670bd6a3f7244105407d4c35 /spec
parent70f634dc12cbc6e9fde6c0bc8854da0ae704b906 (diff)
downloadpdf-calendars-c23e146e3b9901505472c4f33d30883a7ae5440c.tar.gz
pdf-calendars-c23e146e3b9901505472c4f33d30883a7ae5440c.tar.bz2
pdf-calendars-c23e146e3b9901505472c4f33d30883a7ae5440c.zip
Fix spec
Diffstat (limited to 'spec')
-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