Guest User

Untitled

a guest
Sep 20th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. rails_root = File.expand_path('../../', __FILE__)
  2. $LOAD_PATH.unshift(rails_root) unless $LOAD_PATH.include?(rails_root)
  3.  
  4. require 'spec/support/require_helper'
  5. require 'spec/support/matchers'
  6. require 'i18n'
  7.  
  8. I18n.load_path << Dir['config/locales/*.yml']
  9. I18n.locale = 'pt-BR'
  10. I18n.load_path.flatten!
Add Comment
Please, Sign In to add comment