blob: 5a84d67bdfc3deb6a74ceadfb9af20575df89815 (
plain)
1
2
3
4
5
6
7
|
# frozen_string_literal: true
module TestRequestHelpers
def test_request(remote_ip: '127.0.0.1')
ActionController::TestRequest.new({ remote_ip: remote_ip }, ActionController::TestSession.new)
end
end
|