Module: RailsStuff::TestHelpers::IntegrationSession

Defined in:
lib/rails_stuff/test_helpers/integration_session.rb

Instance Method Summary collapse

Instance Method Details

#default_url_optionsObject

Set host explicitly, because it can change after request.



11
12
13
# File 'lib/rails_stuff/test_helpers/integration_session.rb', line 11

def default_url_options
  super.merge(host: host)
end

#processObject

Return smth usable instead of status code.



5
6
7
8
# File 'lib/rails_stuff/test_helpers/integration_session.rb', line 5

def process(*)
  super
  response
end