File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ def inspect
19
19
end
20
20
end
21
21
class FileNotFoundError < Error ; end
22
- class ForbidenError < Error ; end
22
+ class ForbiddenError < Error ; end
23
23
class IntegrityError < Error ; end
24
24
25
25
include REXML
@@ -94,7 +94,7 @@ def success?
94
94
95
95
ERROR_MAPPINGS = {
96
96
Net ::HTTPNotFound => FileNotFoundError ,
97
- Net ::HTTPForbidden => ForbidenError ,
97
+ Net ::HTTPForbidden => ForbiddenError ,
98
98
}
99
99
100
100
ERROR_CODE_MAPPINGS = {
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ def test_read_only_signed_uri
294
294
permissions : "r" ,
295
295
expiry : Time . at ( Time . now . to_i + EXPIRATION ) . utc . iso8601 ,
296
296
)
297
- assert_raises ( AzureBlob ::Http ::ForbidenError ) do
297
+ assert_raises ( AzureBlob ::Http ::ForbiddenError ) do
298
298
AzureBlob ::Http . new ( uri , { "x-ms-blob-type" : "BlockBlob" } ) . put ( content )
299
299
end
300
300
You can’t perform that action at this time.
0 commit comments