add Payment#purchase tests

This commit is contained in:
Rishabh Saxena 2016-08-09 02:29:44 +05:30
parent 4b0a5b1125
commit 5c21d1c4d9
5 changed files with 67 additions and 1 deletions

View file

@ -225,6 +225,8 @@ group :test do
gem 'timecop'
# for mocking external requests
gem 'webmock'
# for mocking Stripe responses in tests
gem 'stripe-ruby-mock'
end
group :development, :test do