X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/385f300ba44bc186aa679d5aba543260e8ffee1e..52cbd3bc6d8b7b2fe0735cb8ccd6e57c89c8d797:/services/api/test/test_helper.rb diff --git a/services/api/test/test_helper.rb b/services/api/test/test_helper.rb index 8c12ffb5df..8e3399523e 100644 --- a/services/api/test/test_helper.rb +++ b/services/api/test/test_helper.rb @@ -20,5 +20,11 @@ class ActiveSupport::TestCase # Add more helper methods to be used by all tests here... end +class ActionDispatch::IntegrationTest + def jresponse + @jresponse ||= ActiveSupport::JSON.decode @response.body + end +end + # Ensure permissions are computed from the test fixtures. User.invalidate_permissions_cache