To run tests:
bundle install
bundle exec rspec subscription_spec.rb
Recurring subscriptions with Ruby, RSpec and modular arithmetic