On 2 avr. 2014, at 16:27, Mark Rizun <mrizun@gmail.com> wrote:

That is really wierd:)


2014-04-02 17:17 GMT+03:00 Roelof Wobben <r.wobben@home.nl>:
Mark Rizun schreef op 2-4-2014 15:16:
The mistake is simple. You have to write as follows (just replace cell for self in two lines before should and shouldnt):

testCellOnState
      | cell |
      cell := BlankCell new.
      self should: [ cell isOff ].
      self shouldnt:  [ cell isOn ].



You are abolute right.
Wierd that earlier test succceed where this error also is made.

It's just because before you were subclassing BlankCell from TestCase so BlankCell instances were answering #should: .


Roelof