]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/oauth_clients_controller_test.rb
Keep layer labels on top of the tiles in the layer switcher
[rails.git] / test / controllers / oauth_clients_controller_test.rb
index 6bafa62cc6a5067a8c12e10310978805a4d1b3ff..a1c6fbc2118998afe3d82153e1c36af3cc26b014 100644 (file)
@@ -99,7 +99,7 @@ class OauthClientsControllerTest < ActionController::TestCase
       }, { :user => user }
     end
     assert_response :redirect
-    assert_redirected_to oauth_client_path(:id => ClientApplication.find_by_name("Test Application").id)
+    assert_redirected_to oauth_client_path(:id => ClientApplication.find_by(:name => "Test Application").id)
   end
 
   def test_show