Sha256: 04d93744fbdfbef9037f33cf85ee7d3a84d883543050e0dc49843695c45aecab

Contents?: true

Size: 387 Bytes

Versions: 4

Compression:

Stored size: 387 Bytes

Contents

# frozen_string_literal: true

require_relative "../test_helper"

class StimulusReflex::BroadcasterTestCase < ActionCable::Channel::TestCase
  tests StimulusReflex::Channel

  setup do
    stub_connection(session_id: SecureRandom.uuid)
    def connection.env
      @env ||= {}
    end
    @reflex = StimulusReflex::Reflex.new(subscribe, url: "https://test.stimulusreflex.com")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stimulus_reflex-3.4.2 test/broadcasters/broadcaster_test_case.rb
stimulus_reflex-3.4.1 test/broadcasters/broadcaster_test_case.rb
stimulus_reflex-3.4.0 test/broadcasters/broadcaster_test_case.rb
stimulus_reflex-3.4.0.pre9 test/broadcasters/broadcaster_test_case.rb