From 1107daed6c30979d09a47cc81dd8196a37dd870e Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Mon, 20 Jan 2014 17:30:19 -0500 Subject: [PATCH] Enable the message_tests in mocking mode. --- tests/rackspace/models/queues/message_tests.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/rackspace/models/queues/message_tests.rb b/tests/rackspace/models/queues/message_tests.rb index bf25a4eed..5d040aa75 100644 --- a/tests/rackspace/models/queues/message_tests.rb +++ b/tests/rackspace/models/queues/message_tests.rb @@ -1,7 +1,5 @@ Shindo.tests('Fog::Rackspace::Queues | message', ['rackspace']) do - pending if Fog.mocking? - service = Fog::Rackspace::Queues.new queue = service.queues.create({ :name => "fog_instance_#{Time.now.to_i.to_s}", @@ -11,7 +9,7 @@ Shindo.tests('Fog::Rackspace::Queues | message', ['rackspace']) do :body => { :key => 'value' } } begin - model_tests(queue.messages, options, false) do + model_tests(queue.messages, options) do tests('#href').returns(true) do !@instance.href.nil? end