debian-mirror-gitlab/spec/support/helpers/stub_action_cable_connection.rb
2020-06-23 00:09:42 +05:30

7 lines
239 B
Ruby

# frozen_string_literal: true
module StubActionCableConnection
def stub_action_cable_connection(current_user: nil, request: ActionDispatch::TestRequest.create)
stub_connection(current_user: current_user, request: request)
end
end