test/integration/queue/informative_errors_test.rb in azure-0.7.0 vs test/integration/queue/informative_errors_test.rb in azure-0.7.1
- old
+ new
@@ -20,17 +20,17 @@
require "azure/queue/queue_service"
require "azure/core/http/http_error"
describe Azure::Queue::QueueService do
subject { Azure::Queue::QueueService.new }
-
+
describe '#informative_errors_queue' do
let(:queue_name){ QueueNameHelper.name }
after { QueueNameHelper.clean }
it "exception message should be valid" do
# getting metadata from a non existent should throw
- begin
+ begin
subject.get_queue_metadata queue_name
flunk "No exception"
rescue Azure::Core::Http::HTTPError => error
error.status_code.must_equal 404
error.type.must_equal "QueueNotFound"
\ No newline at end of file