7709: Upgrade to rails4, fix some of the compatibility issues.
[arvados.git] / services / api / test / functional / database_controller_test.rb
index 4bda0d0f116ee5801003329d752cc241316a25f1..324a7ffb390109273fbd41c7401502bed359e6e2 100644 (file)
@@ -15,7 +15,7 @@ class DatabaseControllerTest < ActionController::TestCase
     begin
       Rails.env = 'production'
       Rails.application.reload_routes!
-      assert_raises ActionController::RoutingError do
+      assert_raises ActionController::UrlGenerationError do
         post :reset
       end
     ensure