diff options
Diffstat (limited to 'src/test/scala/cc/spray/json/formats/GenericFormatsSpec.scala')
-rw-r--r-- | src/test/scala/cc/spray/json/formats/GenericFormatsSpec.scala | 2 |
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) |