From c98050199e1ce2bf2d66433cec8c066c37d91f60 Mon Sep 17 00:00:00 2001 From: bogdanvlviv Date: Mon, 5 Mar 2018 15:07:33 +0200 Subject: [PATCH] Remove extra arg passed to `Rails::Command::RoutesTest#run_routes_command` Related to 6bd33d66dde015a55912af20b469788ba20ddb4e --- railties/test/commands/routes_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/test/commands/routes_test.rb b/railties/test/commands/routes_test.rb index 409a6f3417..b45fb05a6f 100644 --- a/railties/test/commands/routes_test.rb +++ b/railties/test/commands/routes_test.rb @@ -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"])