Commit
a3bfec81f2033258a775bd3d5747bd12184dd524
Exists in
staging
and in
19 other branches
angular_poc, api-homepage, api_visitor, caching-rails4, captcha_serpro_plugin, comment_paragraph_api, comments_api_reply, environment-api, export-comment-paragraph, fix_multitenancy, fix_profile_wall, fix_string_downcase_and_upcase, fix_upload_files_on_development_environment, json_cookie_serializer, login-captcha, master, new_security, new_video_plugin, production
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' |