7709: Upgrade to rails4, fix some of the compatibility issues.
[arvados.git] / services / api / test / integration / api_client_authorizations_scopes_test.rb
index beef1953ae25f01cc675a1702ca1b983f4db2ff0..17c7516b79cd4247f990d359b854832062d75fce 100644 (file)
@@ -4,11 +4,11 @@
 
 require 'test_helper'
 
-class Arvados::V1::ApiTokensScopeTest < ActionController::IntegrationTest
+class ApiTokensScopeTest < ActionDispatch::IntegrationTest
   fixtures :all
 
   def v1_url(*parts)
-    (['arvados', 'v1'] + parts).join('/')
+    (['', 'arvados', 'v1'] + parts).join('/')
   end
 
   test "user list token can only list users" do