tests/rackspace/models/queues/claim_tests.rb in fog-1.19.0 vs tests/rackspace/models/queues/claim_tests.rb in fog-1.20.0
- old
+ new
@@ -1,9 +1,7 @@
Shindo.tests('Fog::Rackspace::Queues | claim', ['rackspace']) do
- pending if Fog.mocking?
-
service = Fog::Rackspace::Queues.new
queue = service.queues.create({
:name => "fog_queue_#{Time.now.to_i.to_s}",
})
queue.messages.create({
@@ -15,10 +13,10 @@
:ttl => VALID_TTL,
:grace => VALID_GRACE
}
begin
- model_tests(queue.claims, params, false) do
+ model_tests(queue.claims, params) do
tests('#messages') do
returns(1) { @instance.messages.length }
returns('body') { @instance.messages.first.body['random'] }
end