lib/brightbox-cli/vendor/fog/tests/aws/requests/sqs/queue_tests.rb in brightbox-cli-0.14.1 vs lib/brightbox-cli/vendor/fog/tests/aws/requests/sqs/queue_tests.rb in brightbox-cli-0.15.0
- old
+ new
@@ -5,27 +5,24 @@
create_queue_format = AWS::SQS::Formats::BASIC.merge({
'QueueUrl' => String
})
tests("#create_queue('fog_queue_tests')").formats(create_queue_format) do
- pending if Fog.mocking?
data = Fog::AWS[:sqs].create_queue('fog_queue_tests').body
@queue_url = data['QueueUrl']
data
end
list_queues_format = AWS::SQS::Formats::BASIC.merge({
'QueueUrls' => [String]
})
tests("#list_queues").formats(list_queues_format) do
- pending if Fog.mocking?
Fog::AWS[:sqs].list_queues.body
end
tests("#set_queue_attributes('#{@queue_url}', 'VisibilityTimeout', 60)").formats(AWS::SQS::Formats::BASIC) do
- pending if Fog.mocking?
Fog::AWS[:sqs].set_queue_attributes(@queue_url, 'VisibilityTimeout', 60).body
end
get_queue_attributes_format = AWS::SQS::Formats::BASIC.merge({
'Attributes' => {
@@ -39,15 +36,13 @@
'VisibilityTimeout' => Integer
}
})
tests("#get_queue_attributes('#{@queue_url}', 'All')").formats(get_queue_attributes_format) do
- pending if Fog.mocking?
Fog::AWS[:sqs].get_queue_attributes(@queue_url, 'All').body
end
tests("#delete_queue('#{@queue_url}')").formats(AWS::SQS::Formats::BASIC) do
- pending if Fog.mocking?
Fog::AWS[:sqs].delete_queue(@queue_url).body
end
end
\ No newline at end of file