aboutsummaryrefslogtreecommitdiff
path: root/okhttp-backend/src/test/scala/com/softwaremill/sttp/okhttp/OkHttpSyncHttpTest.scala
diff options
context:
space:
mode:
authorAdam Warski <adam@warski.org>2018-05-21 14:28:29 +0200
committerGitHub <noreply@github.com>2018-05-21 14:28:29 +0200
commitb7de29680d64c8465ba9b612cb9d903cbbc12291 (patch)
tree0d7a6b1c653393de8422e9704b9e68bb5cf7ed91 /okhttp-backend/src/test/scala/com/softwaremill/sttp/okhttp/OkHttpSyncHttpTest.scala
parent588395d018c258eb74f60ad95bad706698bdf915 (diff)
parentccb1afe90e938fc2b8619dd960a1df1937f212be (diff)
downloadsttp-b7de29680d64c8465ba9b612cb9d903cbbc12291.tar.gz
sttp-b7de29680d64c8465ba9b612cb9d903cbbc12291.tar.bz2
sttp-b7de29680d64c8465ba9b612cb9d903cbbc12291.zip
Merge pull request #94 from guymers/scalajs-2HEADmaster
Move backend tests into their projects
Diffstat (limited to 'okhttp-backend/src/test/scala/com/softwaremill/sttp/okhttp/OkHttpSyncHttpTest.scala')
-rw-r--r--okhttp-backend/src/test/scala/com/softwaremill/sttp/okhttp/OkHttpSyncHttpTest.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/okhttp-backend/src/test/scala/com/softwaremill/sttp/okhttp/OkHttpSyncHttpTest.scala b/okhttp-backend/src/test/scala/com/softwaremill/sttp/okhttp/OkHttpSyncHttpTest.scala
new file mode 100644
index 0000000..bae87d7
--- /dev/null
+++ b/okhttp-backend/src/test/scala/com/softwaremill/sttp/okhttp/OkHttpSyncHttpTest.scala
@@ -0,0 +1,10 @@
+package com.softwaremill.sttp.okhttp
+
+import com.softwaremill.sttp.{Id, SttpBackend}
+import com.softwaremill.sttp.testing.{ConvertToFuture, HttpTest}
+
+class OkHttpSyncHttpTest extends HttpTest[Id] {
+
+ override implicit val backend: SttpBackend[Id, Nothing] = OkHttpSyncBackend()
+ override implicit val convertToFuture: ConvertToFuture[Id] = ConvertToFuture.id
+}