Module: Merb::Test::RequestHelper

Defined in:
lib/webrat/integrations/merb.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#request(uri, env = {}) ⇒ Object



4
5
6
7
# File 'lib/webrat/integrations/merb.rb', line 4

def request(uri, env = {})
  @_webrat_session ||= Webrat::MerbAdapter.new
  @_webrat_session.response = @_webrat_session.request(uri, env)
end