Module: RSpec::Rails::RequestExampleGroup::InstanceMethods

Defined in:
lib/rspec/rails/example/request_example_group.rb

Instance Method Summary collapse

Instance Method Details

#appObject



38
39
40
# File 'lib/rspec/rails/example/request_example_group.rb', line 38

def app
  ::Rails.application
end

#last_responseObject



42
43
44
# File 'lib/rspec/rails/example/request_example_group.rb', line 42

def last_response
  response
end