Skip to content
Snippets Groups Projects
Unverified Commit f0c9ec1f authored by Mattt Zmuda's avatar Mattt Zmuda
Browse files

Add failing test for invalid connection string

parent 05ea58af
Branches
No related tags found
No related merge requests found
......@@ -47,6 +47,16 @@ describe Azure::Storage::Blob::BlobService do
subject.stubs(:call).returns(response)
}
describe "#create_from_connection_string" do
let(:service) { Azure::Storage::Blob::BlobService }
it "returns nil for a valid connection string" do
assert_raises(Azure::Storage::Common::InvalidConnectionStringError) {
Azure::Storage::Blob::BlobService.create_from_connection_string("invalid")
}
end
end
describe "#get_user_delegation_key" do
let(:response_body) {
'<?xml version="1.0" encoding="utf-8"?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment