small medium large xlarge

Back to: All Forums  The RSpec Book
30 Jun 2015, 15:59
Leigh Daniels (2 posts)

In getting the Codebreaker example to work with Ruby 2.2.1 and RSpec 3.3.0 I kept getting the complaint that “messages” couldn’t be found in the expectation for “output.messages”. I discovered that “output” and “input” had to be renamed for it to work. For output I used “tty_output”.

I hope this saves someone some confusion and frustration!