| Module | FormTestHelper::RequestMethods |
| In: |
lib/request_methods.rb
|
# File lib/request_methods.rb, line 4
4: def make_request(method, path, params={}, referring_uri=nil, xhr=false)
5: if self.kind_of?(ActionController::IntegrationTest) || self.kind_of?(ActionController::Integration::Session)
6: make_integration_request(method, path, params, referring_uri, xhr)
7: else
8: make_normal_request(method, path, params, referring_uri, xhr)
9: end
10: end