# File lib/vendor/i18n/test/simple_backend_test.rb, line 532 def test_adding_arrays_of_filenames_to_load_path_do_not_break_locale_loading @backend = I18n::Backend::Simple.new I18n.load_path << Dir[File.dirname(__FILE__) + '/locale/*.{rb,yml}'] assert_nil backend_get_translations assert_nothing_raised { @backend.send :init_translations } assert_not_nil backend_get_translations end