Fix jobs.cancel and add integration test. closes #2258
[arvados.git] / services / api / test / integration / collections_api_test.rb
index 076b2342a2a64798efb8e478c444532c1c592d45..1ceedd7dd20face2204a1dd51b9bff75f23d9a38 100644 (file)
@@ -3,10 +3,6 @@ require 'test_helper'
 class CollectionsApiTest < ActionDispatch::IntegrationTest
   fixtures :all
 
-  def jresponse
-    @jresponse ||= ActiveSupport::JSON.decode @response.body
-  end
-
   test "should get index" do
     get "/arvados/v1/collections", {:format => :json}, {'HTTP_AUTHORIZATION' => "OAuth2 #{api_client_authorizations(:active).api_token}"}
     assert_response :success