Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Add rspec matchers for charging amounts to cards #90

Conversation

diachini
Copy link

  • Replace the charge call counters with arrays of charges calls
    made
  • Charges determine their amount and card token based on request params
  • Add tests to ensure charges calls are reset between runs
  • Add matchers for asserting charges calls were made

(This fixes the merge conflicts (and re-greens the tests) from: #12 )

- Replace the ~~charge~~ call counters with arrays of ~~charges~~ calls
made
- Charges determine their amount and card token based on request params
- Add tests to ensure ~~charges~~ calls are reset between runs
- Add matchers for asserting ~~charges~~ calls were made
@stefannibrasil
Copy link
Contributor

Closing this because fake_stripe has been deprecated: #154

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants