module RackSpecMixin
Public Instance Methods
app()
click to toggle source
# File lib/hippo/spec_helper.rb, line 40 def app Hippo::API::Root end
last_response_json()
click to toggle source
# File lib/hippo/spec_helper.rb, line 43 def last_response_json Oj.load(last_response.body) end
response_data()
click to toggle source
# File lib/hippo/spec_helper.rb, line 46 def response_data last_response_json['data'] end