Module: SerialSpec::RequestResponse

Extended by:
ActiveSupport::Concern
Includes:
InheritableAccessors::InheritableHashAccessor, InheritableAccessors::InheritableOptionAccessor, Rack::Test::Methods, Helpers
Included in:
SerialSpec
Defined in:
lib/serial_spec/request_response.rb,
lib/serial_spec/request_response/helpers.rb,
lib/serial_spec/request_response/provide_matcher.rb

Defined Under Namespace

Modules: Helpers, ProvideMatcher

Instance Method Summary collapse

Methods included from Helpers

#body, #headers, #response, #status

Instance Method Details

#perform_request!Object



22
23
24
25
26
27
# File 'lib/serial_spec/request_response.rb', line 22

def perform_request!
  env = request_envs.merge(:method => request_method, :params => request_params.to_hash)
  env = current_session.send :env_for, request_path, env

  current_session.send :process_request, request_path, env
end