Module: Rodent::Test::Helpers

Defined in:
lib/rodent/test_helpers.rb

Instance Method Summary collapse

Instance Method Details

#request(path, *args) ⇒ Object


6
7
8
# File 'lib/rodent/test_helpers.rb', line 6

def request(path, *args)
  @rodent_response = MultiJson.load(api.route(path).call(*args))
end

#responseObject


10
11
12
# File 'lib/rodent/test_helpers.rb', line 10

def response
  @rodent_response
end