summaryrefslogtreecommitdiff
path: root/src/test/scala/cc/spray/json/formats/GenericFormatsSpec.scala
diff options
context:
space:
mode:
authorMathias <mathias@spray.cc>2011-05-09 09:57:13 +0200
committerMathias <mathias@spray.cc>2011-05-09 09:57:13 +0200
commit7146a4af52a888f0cdf1a806cf640ef243e82a6c (patch)
treec0f41d242f2053674bfe2f6f0b005b8a2b2f0897 /src/test/scala/cc/spray/json/formats/GenericFormatsSpec.scala
parentb9b9ae1bc56362695217bb2a8850586700c0315a (diff)
downloadspray-json-7146a4af52a888f0cdf1a806cf640ef243e82a6c.tar.gz
spray-json-7146a4af52a888f0cdf1a806cf640ef243e82a6c.tar.bz2
spray-json-7146a4af52a888f0cdf1a806cf640ef243e82a6c.zip
Squash sub package 'formats'
Diffstat (limited to 'src/test/scala/cc/spray/json/formats/GenericFormatsSpec.scala')
-rw-r--r--src/test/scala/cc/spray/json/formats/GenericFormatsSpec.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/cc/spray/json/formats/GenericFormatsSpec.scala b/src/test/scala/cc/spray/json/formats/GenericFormatsSpec.scala
index adc6fcb..60f4494 100644
--- a/src/test/scala/cc/spray/json/formats/GenericFormatsSpec.scala
+++ b/src/test/scala/cc/spray/json/formats/GenericFormatsSpec.scala
@@ -6,7 +6,7 @@ import org.specs.Specification
class GenericFormatsSpec extends Specification with GenericFormats with BasicFormats {
case class Test2(a: Int, b: Double)
- implicit val test2Format = format(Test2, "a", "b")
+ implicit val test2Format = jsonFormat(Test2, "a", "b")
"A JsonFormat created with format, for a case class with 2 elements," should {
val obj = Test2(42, 4.2)