Add test create to container with slash

This commit is contained in:
Miguel González Aravena 2018-01-07 23:58:31 -03:00
parent 4a7bf1daa9
commit 3ecf08961f
1 changed files with 8 additions and 0 deletions

View File

@ -54,6 +54,14 @@ describe('FileSystem based storage provider', function() {
});
});
it('should create a new container with slash', function(done) {
client.createContainer({name: 'c1%2Fc2'}, function(err, container) {
assert(!err);
verifyMetadata(container, 'c1/c2');
done(err, container);
});
});
it('should get a container c1', function(done) {
client.getContainer('c1', function(err, container) {
assert(!err);