diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2015-08-28 21:57:03 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2015-08-28 21:57:03 -0300 |
commit | 6c3fd05c2e2bcd10b64f22e31a1d29ee9436a7f1 (patch) | |
tree | ddcf781dd87793b7737883f2390088f8660d2c80 | |
parent | d12daa4b3370447e55710cadf7579d1b96cdfcad (diff) | |
parent | ab8338fb223c60f4c493ee074648af643cc62586 (diff) | |
download | rails-6c3fd05c2e2bcd10b64f22e31a1d29ee9436a7f1.tar.gz rails-6c3fd05c2e2bcd10b64f22e31a1d29ee9436a7f1.tar.bz2 rails-6c3fd05c2e2bcd10b64f22e31a1d29ee9436a7f1.zip |
Merge pull request #21423 from y-yagi/rails_test_opts
make `ENV` a required argument
-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 |