diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-08-29 07:41:50 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-08-29 07:53:17 +0900 |
commit | ab8338fb223c60f4c493ee074648af643cc62586 (patch) | |
tree | ddcf781dd87793b7737883f2390088f8660d2c80 /railties | |
parent | d12daa4b3370447e55710cadf7579d1b96cdfcad (diff) | |
download | rails-ab8338fb223c60f4c493ee074648af643cc62586.tar.gz rails-ab8338fb223c60f4c493ee074648af643cc62586.tar.bz2 rails-ab8338fb223c60f4c493ee074648af643cc62586.zip |
make `ENV` a required argument
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/test_unit/minitest_plugin.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/test_unit/minitest_plugin.rb b/railties/lib/rails/test_unit/minitest_plugin.rb index 5552779ef1..8e5301d1e0 100644 --- a/railties/lib/rails/test_unit/minitest_plugin.rb +++ b/railties/lib/rails/test_unit/minitest_plugin.rb @@ -16,7 +16,7 @@ module Minitest opts.separator "" opts.separator "Rails options:" - opts.on("-e", "--environment [ENV]", + opts.on("-e", "--environment ENV", "Run tests in the ENV environment") do |env| options[:environment] = env.strip end |