module RequestSpecHelper
request_spec_helper.rb
Public Instance Methods
json()
click to toggle source
Parse JSON response to ruby hash
# File lib/generators/jinda_engine/templates/spec/support/request_spec_helper.rb, line 5 def json JSON.parse(response.body) end