1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

make ENV a required argument

This commit is contained in:
yuuji.yaginuma 2015-08-29 07:41:50 +09:00
parent d12daa4b33
commit ab8338fb22

View file

@ -16,7 +16,7 @@ module Minitest
opts.separator "" opts.separator ""
opts.separator "Rails options:" opts.separator "Rails options:"
opts.on("-e", "--environment [ENV]", opts.on("-e", "--environment ENV",
"Run tests in the ENV environment") do |env| "Run tests in the ENV environment") do |env|
options[:environment] = env.strip options[:environment] = env.strip
end end