Flowdock
method

url_helpers

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: SystemTestCase
url_helpers() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/system_test_case.rb, line 161
      def url_helpers
        @url_helpers ||=
          if ActionDispatch.test_app
            Class.new do
              include ActionDispatch.test_app.routes.url_helpers
              include ActionDispatch.test_app.routes.mounted_helpers

              def url_options
                default_url_options.reverse_merge(host: Capybara.app_host || Capybara.current_session.server_url)
              end
            end.new
          end
      end
Register or log in to add new notes.