Provide response[_profile][request_time] if requested by client. refs #1815
[arvados.git] / services / api / test / integration / collections_api_test.rb
index 7051c4cfd7cbdc584de5685e14be28e231649b23..f2dfbee94718dba33a96f2a3275089f0c8eea25e 100644 (file)
@@ -4,10 +4,10 @@ class CollectionsApiTest < ActionDispatch::IntegrationTest
   fixtures :all
 
   test "should get index" do
-    get "/orvos/v1/collections", :format => :json
+    get "/arvados/v1/collections", {:format => :json}, {'HTTP_AUTHORIZATION' => "OAuth2 #{api_client_authorizations(:active).api_token}"}
     @json_response ||= ActiveSupport::JSON.decode @response.body
     assert_response :success
-    assert_equal "orvos#collectionList", @json_response['kind']
+    assert_equal "arvados#collectionList", @json_response['kind']
   end
 
 end