Skip to content

Commit

Permalink
Remove redundant test for lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartuz committed Sep 12, 2015
1 parent 16d904b commit b5e70f8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/i18n/tests/lookup.rb
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b5e70f8

Please sign in to comment.