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 [“firstname.lastname@example.org”], mail.to