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

23 Oct 2013, 19:30
Generic-user-small

Hunt Norment (4 posts)

Dave – did you ever resolve this issue? I’m having the same problem.

Thanks in advance.

/Hunt

  You must be logged in to comment