RailsCasts Pro episodes are now free!

Learn more or hide this

Jeremy Ward's Profile

GitHub User: jrmyward

Comments by Jeremy Ward


How would you test if the exception was successfully raised and errors logged using RSpec?

Thanks in advance!


I'm curious about the testing aspect too, especially the save_with_payment method in the Subscription model.

Anyone have an RSpec example for this or a resource for the underlying concept?