Sha256: 7e72ac31c2c4c7c901a6502b9bea7657358cf921ec49a741315f49a76b739b1f

Contents?: true

Size: 130 Bytes

Versions: 6

Compression:

Stored size: 130 Bytes

Contents

module TestHelpers
  module Response
    # @return [Hash]
    def json_response
      JSON.parse(response.body)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
infinum_json_api_setup-0.0.8 spec/support/test_helpers/response.rb
infinum_json_api_setup-0.0.7 spec/support/test_helpers/response.rb
infinum_json_api_setup-0.0.6 spec/support/test_helpers/response.rb
infinum_json_api_setup-0.0.5 spec/support/test_helpers/response.rb
infinum_json_api_setup-0.0.4 spec/support/test_helpers/response.rb
infinum_json_api_setup-0.0.3 spec/support/test_helpers/response.rb