diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93077e3a..82d232df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,8 @@ jobs: matrix: include: # Recent Rubies and Rails + - ruby-version: '3.3' + rails-version: '7.2' - ruby-version: '3.2' - ruby-version: '3.1' - ruby-version: '3.0' diff --git a/lib/rspec_api_documentation/client_base.rb b/lib/rspec_api_documentation/client_base.rb index db0560a3..0e44e2f7 100644 --- a/lib/rspec_api_documentation/client_base.rb +++ b/lib/rspec_api_documentation/client_base.rb @@ -44,7 +44,7 @@ def process(method, path, params = {}, headers ={}) end def read_request_body - input = last_request.env["rack.input"] + input = last_request.env["rack.input"]# || StringIO.new input.rewind input.read end