Commit
a3bfec81f2033258a775bd3d5747bd12184dd524
Exists in
master
and in
20 other branches
add_member_task_reject_details, admin_visible_profile, community_notifications, fix_comments_pagination, fix_rails4_organization_ratings, fix_sign_up_form, follow_step_fix, forum_topic_creation, mirror_block_improvements, multi_env_on_remote_user, new_security, organization_ratings_improvements, profile_api_improvements, ratings_minor_fixes, send_email_to_admins, stable-spb-1.4, stable-spb-1.5, suggest_rejected_value, web_steps_improvements, xss_terminate_custom_options
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' |