Permalink
Browse files

Fixed tests

Updated dependencies
  • Loading branch information...
darkfrog26 committed Dec 27, 2018
1 parent 22ba270 commit 7e4df4fa7851e1018e2bba2041326794f77ed255
Showing with 4 additions and 3 deletions.
  1. +2 −2 build.sbt
  2. +2 −1 client/jvm/src/test/scala/spec/HttpClientSpec.scala
  3. 0 {dom → }/template.html
@@ -37,9 +37,9 @@ val openTypeVersion = "0.7.3"
val picaVersion = "3.0.5"
val webFontLoaderVersion = "1.6.28"

val akkaVersion = "2.5.17"
val akkaVersion = "2.5.19"
val scalaJSDOM = "0.9.6"
val okHttpVersion = "3.11.0"
val okHttpVersion = "3.12.1"
val circeVersion = "0.10.1"
val uaDetectorVersion = "2014.10"
val undertowVersion = "2.0.16.Final"
@@ -23,11 +23,12 @@ class HttpClientSpec extends AsyncWordSpec with Matchers {
"call a URL multiple times with a rate limiter" in {
var calls = 0
val limiter = Interceptor.rateLimited(1.seconds)
val config = client.config.interceptor(limiter)

def callMultiple(counter: Int): Future[Unit] = {
client.send(
request = HttpRequest(url = url"https://httpbin.org/user-agent"),
interceptor = limiter
config = config
).flatMap { response =>
response.status should be(HttpStatus.OK)
calls += 1
File renamed without changes.

0 comments on commit 7e4df4f

Please sign in to comment.