1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Enable the message_tests in mocking mode.

This commit is contained in:
Ash Wilson 2014-01-20 17:30:19 -05:00
parent 5c36c8ae08
commit 1107daed6c

View file

@ -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