I whould like to write this in the section given or when:
val = 10
val.shouldBe 10
I get a failed scenario with the error message: "No signature of method:
java.lang.Integer.shouldBe() is applicable for argument type:
(java.lang.Integer) values: [10]
Am I missing an import?
And if I write this:
val = 0
if (val != 0) {
fail("fail")
}
if val is equal to 0 then it works, but if not, I'm getting an error like
the error above.
Original issue reported on code.google.com by daniel.v...@gmail.com on 22 Mar 2010 at 10:38
Original issue reported on code.google.com by
daniel.v...@gmail.com
on 22 Mar 2010 at 10:38