diff options
author | Arthur Rand <arand@ucsc.edu> | 2018-04-18 10:47:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-18 10:47:13 -0700 |
commit | 6e13eb85a862bf8c8a20bc547f7eee9a85641c5c (patch) | |
tree | b94719b5a2b53a6059e487e167c334089955e885 /src/test/scala/xyz/driver/core/BlobStorageTest.scala | |
parent | 979d16d518b05c9f702bb526388bd278b9c51cee (diff) | |
download | driver-core-6e13eb85a862bf8c8a20bc547f7eee9a85641c5c.tar.gz driver-core-6e13eb85a862bf8c8a20bc547f7eee9a85641c5c.tar.bz2 driver-core-6e13eb85a862bf8c8a20bc547f7eee9a85641c5c.zip |
[API-1498] add url method to blobStorage (#157)v1.8.24
* add url method to blobStorage
* typo
* typo
* address comments
* address comments
* remove
* scalafmt
Diffstat (limited to 'src/test/scala/xyz/driver/core/BlobStorageTest.scala')
-rw-r--r-- | src/test/scala/xyz/driver/core/BlobStorageTest.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/scala/xyz/driver/core/BlobStorageTest.scala b/src/test/scala/xyz/driver/core/BlobStorageTest.scala index 65f9cbc..637f9e0 100644 --- a/src/test/scala/xyz/driver/core/BlobStorageTest.scala +++ b/src/test/scala/xyz/driver/core/BlobStorageTest.scala @@ -80,6 +80,11 @@ class BlobStorageTest extends FlatSpec with ScalaFutures { assert(storage.list("a").futureValue === Set("a/a.txt", "a/b")) assert(storage.list("c").futureValue === Set("c/d")) } + it should "get valid URL" in { + assert(storage.exists(key).futureValue === true) + val fooUrl = storage.url(key).futureValue + assert(fooUrl.isDefined) + } } "File system storage" should behave like storageBehaviour( |