From 0ce3b97fa30f7db8ba3911ab30dc5df246184f4f Mon Sep 17 00:00:00 2001 From: eileencodes Date: Sun, 27 Sep 2015 11:39:32 -0400 Subject: Fix test that was failing because of typo Here `app` needed to be `get` because we're getting a route. This fixes the typo so the test passes. --- railties/test/application/routing_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties') diff --git a/railties/test/application/routing_test.rb b/railties/test/application/routing_test.rb index cacae13a9b..0777714d35 100644 --- a/railties/test/application/routing_test.rb +++ b/railties/test/application/routing_test.rb @@ -23,7 +23,7 @@ module ApplicationTests test "rails/info in development" do app("development") - app "/rails/info" + get "/rails/info" assert_equal 302, last_response.status end -- cgit v1.2.3