Sha256: 580312cfac6a9555f6bf9ade93a8266e4456bf6734477f5a306b2c9bb35f10a3

Contents?: true

Size: 206 Bytes

Versions: 6

Compression:

Stored size: 206 Bytes

Contents

# frozen_string_literal: true

module RequestHelper
  def json
    JSON.parse(response.body, symbolize_names: true)
  end
end

RSpec.configure do |config|
  config.include RequestHelper, type: :request
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
care-0.1.6 lib/care/support/request_helper.rb
care-0.1.5 lib/care/support/request_helper.rb
care-0.1.4 lib/care/support/request_helper.rb
care-0.1.3 lib/care/support/request_helper.rb
care-0.1.1 lib/care/support/request_helper.rb
care-0.1.0 lib/care/support/request_helper.rb