Module: Merb::Test::RequestHelper

Defined in:
lib/webrat/merb_session.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

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



53
54
55
56
# File 'lib/webrat/merb_session.rb', line 53

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