lib/fake_sqs/databases/file.rb in fake_sqs-0.4.1 vs lib/fake_sqs/databases/file.rb in fake_sqs-0.4.2
- old
+ new
@@ -54,9 +54,10 @@
end
Hash[new_list.map { |key, value| [key, deserialize(key)] }]
end
def delete(key)
+ @queue_objects.delete(key)
storage.delete(key)
end
def values
storage.map { |key, value|