aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/i18n_test.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-06-15 12:44:10 +0200
committerYves Senn <yves.senn@gmail.com>2014-06-15 12:44:10 +0200
commit1bd12a8609d275ad75fcc4b622ca4f5b32dc76be (patch)
tree7ecbf539d3b1267c58c30103ad730da3e4ca41e3 /activesupport/test/i18n_test.rb
parent247cc2205dbb2f7bb8179d29530d48e4753d6ef1 (diff)
parent880721434c1aa6c05c8be6c1b0127843871c1bef (diff)
downloadrails-1bd12a8609d275ad75fcc4b622ca4f5b32dc76be.tar.gz
rails-1bd12a8609d275ad75fcc4b622ca4f5b32dc76be.tar.bz2
rails-1bd12a8609d275ad75fcc4b622ca4f5b32dc76be.zip
Merge pull request #15738 from kuldeepaggarwal/remove-unwanted-code
remove unnecessary calling of `I18n.backend.store_translations('empty', {})`
Diffstat (limited to 'activesupport/test/i18n_test.rb')
-rw-r--r--activesupport/test/i18n_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activesupport/test/i18n_test.rb b/activesupport/test/i18n_test.rb
index 5ef59b6e6b..3faa15e7fd 100644
--- a/activesupport/test/i18n_test.rb
+++ b/activesupport/test/i18n_test.rb
@@ -99,7 +99,6 @@ class I18nTest < ActiveSupport::TestCase
end
def test_to_sentence_with_empty_i18n_store
- I18n.backend.store_translations 'empty', {}
assert_equal 'a, b, and c', %w[a b c].to_sentence(locale: 'empty')
end
end