gitlab-org--gitlab-foss/spec/support/helpers/stub_action_cable_connection.rb

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