test/integration/blob/informative_errors_test.rb in azure-0.7.0 vs test/integration/blob/informative_errors_test.rb in azure-0.7.1
- old
+ new
@@ -22,12 +22,12 @@
after { TableNameHelper.clean }
let(:container_name) { ContainerNameHelper.name }
it "exception message should be valid" do
subject.create_container container_name
-
+
# creating the same container again should throw
- begin
+ begin
subject.create_container container_name
flunk "No exception"
rescue Azure::Core::Http::HTTPError => error
error.status_code.must_equal 409
error.type.must_equal "ContainerAlreadyExists"
\ No newline at end of file