From 320404c7b06b1c3331650cb7d029e240418cdf51 Mon Sep 17 00:00:00 2001 From: bartuz Date: Sat, 12 Sep 2015 21:12:16 +0100 Subject: [PATCH] Remove redundant test for lookup This reverts PART of commit ee27f3d85ab275757b144aa216c1a282ef9bb345. thanks @clemens https://github.com/svenfuchs/i18n/pull/282/files#r37780129 --- lib/i18n/tests/lookup.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/i18n/tests/lookup.rb b/lib/i18n/tests/lookup.rb index a9bc1740..3b4c8434 100644 --- a/lib/i18n/tests/lookup.rb +++ b/lib/i18n/tests/lookup.rb @@ -6,7 +6,7 @@ module Lookup def setup super I18n.backend.store_translations(:en, :foo => { :bar => 'bar', :baz => 'baz' }, :falsy => false, :truthy => true, - :string => "a", :array => %w(a b c), :interpolate_array => %w(foo %{bar}), :hash => { "a" => "b" }) + :string => "a", :array => %w(a b c), :hash => { "a" => "b" }) end test "lookup: it returns a string" do @@ -21,10 +21,6 @@ def setup assert_equal(%w(a b c), I18n.t(:array)) end - test "lookup: it returns the interpolate_array" do - assert_equal ['foo', '%{bar}'], I18n.t(:interpolate_array) - end - test "lookup: it returns a native true" do assert I18n.t(:truthy) === true end