我想用Specs2测试Json,但我总是得到一个解析错误。 也许是因为我使用JObect? val j: JObject = "hello" -> "world"
j must */("hello")
这是错误: Search_fields Could not parse:
JObject(List(JField(hello,JString(world))))
java.lang.Exc
我正在尝试编写一个测试代码段的Specs2测试用例。 我的片段看起来是这样的:因为S.param是Empty class RegisterTest extends Specification {
val testurl = "http:/html/register?username=liftvalues"
val testSession = MockWeb.testS(test