Sha256: f3e6d447cc4bac4f2284f975bfafc311bbb966e735b9c1f6f5c83b241490ab8d
Contents?: true
Size: 670 Bytes
Versions: 2
Compression:
Stored size: 670 Bytes
Contents
require "integration/test_helper" describe "Create a Message" do after do QueueNameHelper.clean end before do @queue = Azure::Queues.create(QueueNameHelper.name) end it "should be able to create a new message out of a string" do @queue << "some sample text" message = @queue.pop message.text.must_equal "some sample text" assert message.valid?, "must be valid" end it "should be able to create a new message" do @queue << "some sample text" message = @queue.pop message.text.must_equal "some sample text" assert message.valid?, "must be valid" end #TODO: tests for visibilitytimeout and messagesttl end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
azure-0.1.1 | test/integration/queues/put_message_test.rb |
azure-0.1.0 | test/integration/queues/put_message_test.rb |