Commit
a3bfec81f2033258a775bd3d5747bd12184dd524
Exists in
master
and in
11 other branches
angular_poc, backup-7-jan-2016, export-comment-paragraph, login-captcha, new_video_plugin, refactor_with_role, refactor_with_role_scope, remove_profile_cat_icons, staging, theme-brasil-digital-from-staging, travis
rails4: workaround user load
1
| ENV["RAILS_ENV"] = "test" |
1
| ENV["RAILS_ENV"] = "test" |
2
| |
2
| |
3
| require_relative "../config/environment" |
3
| require_relative "../config/environment" |
| |
4
| +# FIXME: shouldn't be necessary |
| |
5
| +require 'user' |
| |
6
| + |
4
| require 'rails/test_help' |
7
| require 'rails/test_help' |
5
| |
8
| |
6
| require 'mocha' |
9
| require 'mocha' |