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

Handle a corner case in the create_queue mock.

This commit is contained in:
Ash Wilson 2014-01-20 11:13:31 -05:00
parent 2894d3ca1d
commit f3ed65ae82

View file

@ -25,6 +25,8 @@ module Fog
class Mock
def create_queue(queue_name)
raise MethodNotAllowed.new if queue_name.nil? || queue_name.empty?
existed = ! data[queue_name].nil?
unless existed