提交 e6d503bc 编写于 作者: J José Valim

Update abort message (ht: tilsammans).

上级 75a960ca
# Make double-sure the RAILS_ENV is not set to production,
# so fixtures aren't loaded into that environment
abort("Abort testing: Your Rails environment is not running in test mode!") if Rails.env.production?
abort("Abort testing: Your Rails environment is running in production mode!") if Rails.env.production?
require 'test/unit'
require 'active_support/core_ext/kernel/requires'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册