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.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