Class: Capybara::Rails::Helpers

Inherits:
Object
  • Object
show all
Defined in:
lib/minitest/rails/capybara.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initializeHelpers

Returns a new instance of Helpers.



12
13
14
15
# File 'lib/minitest/rails/capybara.rb', line 12

def initialize
  self.default_url_options = ::Rails.application.routes.default_url_options
  self.default_url_options[:host] ||= "test.local"
end