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:
parent
5c36c8ae08
commit
1107daed6c
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue