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

25th
Sep 2015
kathyonu
@kathyonu
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 README.md page, do a search for require 'thin' Hope that works for you.