Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stub_action_cable_connection.rb « helpers « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b4e9c2ae48c48fc23d9a9337ba01aee36b3b4320 (plain)
1
2
3
4
5
6
7
# 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