From 578a1182e867daa622fef017c7cb6886d675d41c Mon Sep 17 00:00:00 2001 From: Carlos Goce Date: Fri, 23 Jan 2015 19:00:46 +0100 Subject: Improve spec --- spec/calendar_spec.rb | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3