Sha256: 08bea06487bdb10b00abde15ee7ff4760127f4b963cb09007a6297e55797bbbf
Contents?: true
Size: 562 Bytes
Versions: 2
Compression:
Stored size: 562 Bytes
Contents
require 'test_helper' describe OmfCommon::Comm do describe 'when initialised with a pubsub implementation' do it 'must return a instance with all methods defined in corresponding module loaded' do skip @comm = OmfCommon::Comm.new(:xmpp) %w(connect disconnect create_topic delete_topic subscribe unsubscribe publish affiliations).each do |m| @comm.must_respond_to m end # also existing blather DSL should work too %w(when_ready shutdown).each do |m| @comm.must_respond_to m end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
omf_common-6.0.0 | test/omf_common/comm_spec.rb |
omf_common-6.0.0.pre.11 | test/omf_common/comm_spec.rb |