mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
18 lines
351 B
Ruby
18 lines
351 B
Ruby
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
|