mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
avoid I18n test warnings
This commit is contained in:
parent
b2c786c630
commit
1eff4a7024
1 changed files with 5 additions and 1 deletions
|
@ -18,8 +18,12 @@ require 'action_pack'
|
|||
require 'action_controller'
|
||||
require 'action_view'
|
||||
require 'nokogiri'
|
||||
|
||||
require 'rails'
|
||||
|
||||
if defined?(I18n.enforce_available_locales)
|
||||
I18n.enforce_available_locales = true
|
||||
end
|
||||
|
||||
class TestApp < Rails::Application
|
||||
config.root = ""
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue