supplier improvements

This commit is contained in:
2013-03-09 14:18:21 +01:00
parent 730f910881
commit cc13797f5a
53 changed files with 819 additions and 156 deletions
+17
View File
@@ -0,0 +1,17 @@
require 'spec_helper'
describe I18n do
describe 'translate' do
describe 'day_names' do
it "returns english day names" do
I18n.locale = :en
I18n.t('date.day_names').first.should == 'Sunday'
end
it "returns dutch day names" do
I18n.locale = :nl
I18n.t('date.day_names').first.should == 'zondag'
end
end
end
end