BuildingUIWithSpec icon indicating copy to clipboard operation
BuildingUIWithSpec copied to clipboard

Chapter 2.1 misses a remark that getters for instance variables are needed

Open jpeinelt opened this issue 7 years ago • 0 comments

When you follow the chapter 2.1 to construct the CustomerSatisfactory UI and you hit 'Play' in the Playground after

| ui |
ui := CustomerSatisfactory new openWithSpec.

you will get a does not understand: #buttonBad debugger window. This is because the book does not mention that your objects need getters for the UI elements referenced in the defaultSpec method.

jpeinelt avatar Apr 16 '17 13:04 jpeinelt