Sha256: a7670cb6bc0abdca52157319250a43f98ae5aedfd1f82097bc0e7c05429b1b3e

Contents?: true

Size: 113 Bytes

Versions: 2

Compression:

Stored size: 113 Bytes

Contents

# frozen_string_literal: true

module RequestHelpers
  def json_response
    JSON.parse(response.body)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
n_base_rails-0.1.2 lib/spec/helpers/request_helpers.rb
n_base_rails-0.1.1 lib/spec/helpers/request_helpers.rb