RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: jrmyward
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.
save_with_payment
Anyone have an RSpec example for this or a resource for the underlying concept?
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?