module Rodent::Test::Helpers
Public Instance Methods
request(path, *args)
click to toggle source
# File lib/rodent/test_helpers.rb, line 6 def request(path, *args) @rodent_response = MultiJson.load(api.route(path).call(*args)) end
response()
click to toggle source
# File lib/rodent/test_helpers.rb, line 10 def response @rodent_response end