test/requests/dns/test_delete_zone.rb in fog-azure-rm-0.0.4 vs test/requests/dns/test_delete_zone.rb in fog-azure-rm-0.0.5

- old
+ new

@@ -14,18 +14,18 @@ assert @service.delete_zone('fog-test-rg', 'fog-test-zone') end end end - def test_delte_zone_failure + def test_delete_zone_failure @token_provider.stub :get_authentication_header, 'Bearer <some-token>' do assert_raises ArgumentError do @service.delete_zone('fog-test-zone') end end end - def test_create_zone_exception + def test_delete_zone_exception response = -> { fail Exception.new('mocked exception') } @token_provider.stub :get_authentication_header, response do assert_raises Exception do assert @service.delete_zone('fog-test-rg', 'fog-test-zone') end