Closed koendehondt closed 2 months ago
It would be good to push the changes to the booklet commander
May be we should move the class >> defaultSpec to the instance side
Do you refer to this change?
EgContactBookPresenter class >> defaultSpec
to
ContactBookPresenter class >> defaultLayout
which should have been 🙄
ContactBookPresenter >> defaultLayout
I will fix that.
Yes normally we have move the spec to the class and indeed we should check all the spec and turn them into layout.
ContactBookPresenter class >> defaultLayout I will fix that.
Apart from several improvements, I removed a few paragraphs that were very confusing. I added inline review comments to indicate the paragraphs I removed.
Open issues:
testRemoveContact
under "Adding the Remove Contact command" is not a good test. The initial items are not specified and more importantly, the test does not verify that the selected contact has been removed. It just checks that there is one contact less than initially.