Sha256: afdafb0f5e45ac1f122db39a14547fd7c2800d1aa253f362bc4bd953dd7c1263
Contents?: true
Size: 481 Bytes
Versions: 2
Compression:
Stored size: 481 Bytes
Contents
require_relative "../test_helper" class StimulusReflex::BroadcasterTest < ActiveSupport::TestCase setup do @reflex = Minitest::Mock.new @reflex.expect :stream_name, "TestStream" end 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stimulus_reflex-3.4.0.pre5 | test/broadcasters/broadcaster_test.rb |
stimulus_reflex-3.4.0.pre4 | test/broadcasters/broadcaster_test.rb |