diff options
author | Diego <diegolparra@gmail.com> | 2014-05-09 16:06:11 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-05-09 16:06:11 -0300 |
commit | b991d230725b763428f079a6379bc37334022c5e (patch) | |
tree | de54362e9473c10f76265f8130a81cf22069fbee /kamon-play/src/test/scala | |
parent | f58c5d58b8b93f22992cc6b6a13a6405627aa1a1 (diff) | |
download | Kamon-b991d230725b763428f079a6379bc37334022c5e.tar.gz Kamon-b991d230725b763428f079a6379bc37334022c5e.tar.bz2 Kamon-b991d230725b763428f079a6379bc37334022c5e.zip |
= play: change code format
Diffstat (limited to 'kamon-play/src/test/scala')
-rw-r--r-- | kamon-play/src/test/scala/kamon/play/RequestInstrumentationSpec.scala | 18 | ||||
-rw-r--r-- | kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala | 2 |
2 files changed, 10 insertions, 10 deletions
diff --git a/kamon-play/src/test/scala/kamon/play/RequestInstrumentationSpec.scala b/kamon-play/src/test/scala/kamon/play/RequestInstrumentationSpec.scala index 48c1f558..ee23fd81 100644 --- a/kamon-play/src/test/scala/kamon/play/RequestInstrumentationSpec.scala +++ b/kamon-play/src/test/scala/kamon/play/RequestInstrumentationSpec.scala @@ -68,28 +68,28 @@ class RequestInstrumentationSpec extends PlaySpec with OneServerPerSuite { "the Request instrumentation" should { "respond to the Async Action with X-Trace-Token" in { val Some(result) = route(FakeRequest(GET, "/async").withHeaders(traceTokenHeader)) - header(traceTokenHeaderName, result) must be (expectedToken) + header(traceTokenHeaderName, result) must be(expectedToken) } "respond to the NotFound Action with X-Trace-Token" in { val Some(result) = route(FakeRequest(GET, "/notFound").withHeaders(traceTokenHeader)) - header(traceTokenHeaderName, result) must be (expectedToken) + header(traceTokenHeaderName, result) must be(expectedToken) } - "respond to the Default Action with X-Trace-Token" in { + "respond to the Default Action with X-Trace-Token" in { val Some(result) = route(FakeRequest(GET, "/default").withHeaders(traceTokenHeader)) - header(traceTokenHeaderName, result) must be (expectedToken) + header(traceTokenHeaderName, result) must be(expectedToken) } - "respond to the Redirect Action with X-Trace-Token" in { + "respond to the Redirect Action with X-Trace-Token" in { val Some(result) = route(FakeRequest(GET, "/redirect").withHeaders(traceTokenHeader)) - header("Location", result) must be (Some("/redirected")) - header(traceTokenHeaderName, result) must be (expectedToken) + header("Location", result) must be(Some("/redirected")) + header(traceTokenHeaderName, result) must be(expectedToken) } - "respond to the Async Action with X-Trace-Token and the renamed trace" in { + "respond to the Async Action with X-Trace-Token and the renamed trace" in { val Some(result) = route(FakeRequest(GET, "/async-renamed").withHeaders(traceTokenHeader)) - header(traceTokenHeaderName, result) must be (expectedToken) + header(traceTokenHeaderName, result) must be(expectedToken) } } }
\ No newline at end of file diff --git a/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala b/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala index e9f5d992..4b31fb25 100644 --- a/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala +++ b/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala @@ -19,7 +19,7 @@ package kamon.play import play.api.mvc.Action import play.api.mvc.Results.Ok import play.api.libs.ws.WS -import org.scalatestplus.play.{OneServerPerSuite, PlaySpec} +import org.scalatestplus.play.{ OneServerPerSuite, PlaySpec } import play.api.test._ import play.api.test.Helpers._ |