These are chat archives for rebelidealist/stripe-ruby-mock

21st
Mar 2014
Matt Van
@mattvv
Mar 21 2014 00:19
Have any of you guys been able to mock an incorrect token, I'm trying to write a test to cover my logic when a user tries to fake the cardToken to my controller but stripe-ruby-mock keeps generating a new credit card every time and thus my test is failing
Gilbert
@gilbert
Mar 21 2014 04:09
@mattvv I recommend preparing a custom error: https://github.com/rebelidealist/stripe-ruby-mock#custom-errors