makersacademy / problem-solving

For problem-solving during the PreCourse
6 stars 2 forks source link

Chapter 9 #165

Closed alakijaayo closed 6 years ago

alakijaayo commented 6 years ago

Having an issue passing the final part of the run code. I am getting 3 failures, with the failure telling me:

Failure/Error: expect { run_game } .to output(/#{expected_output}/m).to_stdout

 NoMethodError:
   undefined method `<=' for nil:NilClass

For the last three questions. Any ideas?

T-Miller0 commented 6 years ago

I am fairly certain that it means, it cannot perform <= when the value is nil. I had a similar issue this morning. I hope that helps?