1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/rackspace/models/queues/messages_tests.rb

19 lines
351 B
Ruby
Raw Normal View History

Shindo.tests('Fog::Rackspace::Queues | messages', ['rackspace']) do
pending if Fog.mocking?
service = Fog::Rackspace::Queues.new
queue = service.queues.create({
:name => "fog_queue_#{Time.now.to_i.to_s}",
})
options = {
:ttl => 300,
:body => "blah"
}
collection_tests(queue.messages, options, false)
queue.destroy
end