Forgus / spock

Automatically exported from code.google.com/p/spock
0 stars 0 forks source link

Mistakes in PollingConditions sphinx docs #273

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I think "person.age == 42" should be "person.age = 42" in the when-block.

http://docs.spockframework.org/en/spock-0.7-groovy-1.8/new_and_noteworthy.html#p
olling-conditions

Original issue reported on code.google.com by hasteb...@gmail.com on 9 Oct 2012 at 2:01

GoogleCodeExporter commented 8 years ago
And "assert person.name == "Fred"" should be "person.name == "Barney"" if I'm 
not mistaken.

Original comment by hasteb...@gmail.com on 9 Oct 2012 at 2:06

GoogleCodeExporter commented 8 years ago
Fixed. The `assert` is there on purpose.

Original comment by pnied...@gmail.com on 13 Oct 2012 at 4:42