02 Oct 2012, 15:46
Generic-user-small

Dave Baker (1 post)

I seem to be running into a wall with the integration test.

I’ve been following along precisely with the book and in the end restored all code from the depot_q and worked through the chapter again, but can’t get this to work.

Every time I run the tests I get a

NoMethodError: undefined method `to’ for nil:NilClass

Anyone got any suggestions

Edit:
It fails on the line

assert_equal [“dave@example.com“], mail.to

  You must be logged in to comment