Sha256: 8d6b4871f2787aa3a3db78db7200de4110f5d0e5fa40758e2a0113d780fceabb

Contents?: true

Size: 434 Bytes

Versions: 7

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true

require_relative "broadcaster_test_case"

class StimulusReflex::BroadcasterTest < StimulusReflex::BroadcasterTestCase
  test "raises a NotImplementedError if called directly" do
    broadcaster = StimulusReflex::Broadcaster.new(@reflex)

    assert_raises(NotImplementedError) { broadcaster.broadcast }
    assert_raises(NotImplementedError) { broadcaster.broadcast_message(subject: "Test") }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
stimulus_reflex-3.4.2 test/broadcasters/broadcaster_test.rb
stimulus_reflex-3.5.0.pre2 test/broadcasters/broadcaster_test.rb
stimulus_reflex-3.5.0.pre1 test/broadcasters/broadcaster_test.rb
stimulus_reflex-3.5.0.pre0 test/broadcasters/broadcaster_test.rb
stimulus_reflex-3.4.1 test/broadcasters/broadcaster_test.rb
stimulus_reflex-3.4.0 test/broadcasters/broadcaster_test.rb
stimulus_reflex-3.4.0.pre9 test/broadcasters/broadcaster_test.rb