aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Goce <carlosgoce@gmail.com>2015-01-23 19:00:46 +0100
committerCarlos Goce <carlosgoce@gmail.com>2015-01-23 19:00:46 +0100
commit578a1182e867daa622fef017c7cb6886d675d41c (patch)
tree7ec2f104c0e4fe8b267208438525f3109c83483f
parentf31f9b3c634e357757086c9737be8d6780bf1921 (diff)
downloadpdf-calendars-578a1182e867daa622fef017c7cb6886d675d41c.tar.gz
pdf-calendars-578a1182e867daa622fef017c7cb6886d675d41c.tar.bz2
pdf-calendars-578a1182e867daa622fef017c7cb6886d675d41c.zip
Improve spec
-rw-r--r--spec/calendar_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/calendar_spec.rb b/spec/calendar_spec.rb
index 770634a..89cf9dc 100644
--- a/spec/calendar_spec.rb
+++ b/spec/calendar_spec.rb
@@ -37,6 +37,7 @@ describe 'Calendar' do
end
it 'return the day names localized' do
+ expect(@calendar.to_h[1][:days_names].first).to eq 'thursday'
I18n.locale = 'es'
expect(@calendar.to_h[1][:days_names].first).to eq 'jueves'
end