Sha256: b356e5e0428757507b3e2eed4981ac515e9df293c4709359e234310d955b4893

Contents?: true

Size: 435 Bytes

Versions: 6

Compression:

Stored size: 435 Bytes

Contents

require 'spec_helper'

module GameMachine
  describe MessageQueue do

    let(:topic) {'test topic'}
    let(:message) {'test message'}

    let(:subscribe) do
      MessageLib::Subscribe.new.set_topic(topic)
    end

    let(:unsubscribe) do
      MessageLib::Unsubscribe.new.set_topic(topic)
    end

    let(:publish) do
      publish = MessageLib::Publish.new
      publish.set_topic(topic).set_message(message)
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
game_machine-1.0.4 spec/message_queue_spec.rb
game_machine-1.0.2 spec/message_queue_spec.rb
game_machine-0.0.11 spec/message_queue_spec.rb
game_machine-0.0.10 spec/message_queue_spec.rb
game_machine-0.0.9 spec/message_queue_spec.rb
game_machine-0.0.8 spec/message_queue_spec.rb