diff --git a/lib/i18n/tests/interpolation.rb b/lib/i18n/tests/interpolation.rb index 28afa282..ba978c3f 100644 --- a/lib/i18n/tests/interpolation.rb +++ b/lib/i18n/tests/interpolation.rb @@ -55,8 +55,8 @@ module Interpolation end test "interpolation: given an array interpolates each element" do - I18n.backend.store_translations(:en, :array_interpolate => ['Hi', '%{name}']) - assert_equal ['Hi', 'Bartuz'], interpolate(:array_interpolate, :name => 'Bartuz') + I18n.backend.store_translations(:en, :array_interpolate => ['Hi', 'Mr. %{name}', 'or sir %{name}']) + assert_equal ['Hi', 'Mr. Bartuz', 'or sir Bartuz'], interpolate(:array_interpolate, :name => 'Bartuz') end test "interpolation: given the translation is in utf-8 it still works" do