aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/xyz/driver/core/BlobStorageTest.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/xyz/driver/core/BlobStorageTest.scala')
-rw-r--r--src/test/scala/xyz/driver/core/BlobStorageTest.scala5
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(