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

Remove extra arg passed to Rails::Command::RoutesTest#run_routes_command

Related to 6bd33d66dd
This commit is contained in:
bogdanvlviv 2018-03-05 15:07:33 +02:00
parent ae2d36cf21
commit c98050199e
No known key found for this signature in database
GPG key ID: E4ACD76A6DB6DFDD

View file

@ -69,7 +69,7 @@ class Rails::Command::RoutesTest < ActiveSupport::TestCase
output = run_routes_command(["-c", "cart"])
assert_equal "Prefix Verb URI Pattern Controller#Action\n cart GET /cart(.:format) cart#show\n", output
output = run_routes_command(["routes", "-c", "Cart"])
output = run_routes_command(["-c", "Cart"])
assert_equal "Prefix Verb URI Pattern Controller#Action\n cart GET /cart(.:format) cart#show\n", output
output = run_routes_command(["-c", "CartController"])