Sha256: 62f7e66b75eb2feaa7cb1390c73a4d1cbbd3b1a03b49429ff674225b945c6659

Contents?: true

Size: 403 Bytes

Versions: 3

Compression:

Stored size: 403 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
stimulus_reflex-3.4.0.pre8 test/broadcasters/broadcaster_test.rb
stimulus_reflex-3.4.0.pre7 test/broadcasters/broadcaster_test.rb
stimulus_reflex-3.4.0.pre6 test/broadcasters/broadcaster_test.rb