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

Sep 2015
Sep 25 2015 04:53
@krainboltgreene an untested thought : if you want to use StripeMock goodness in abefore(:suite) doblock, you will want to make sure you start StripeMock as part of the before block, with @client.StripeMock.start_clientso that your data persists across the tests .. make sure you close the server when tests are done StripeMock.stop_client .
To clear the server data while the tests are running, use StripeMock.stop_client(clear_server_data: true).
You can find this info on the page, do a search for require 'thin' Hope that works for you.