you can delete a coupon off of a subscription w/o knowing its id.
- Add coupon specs to cover some existing functionality
…to be the only way to get pricing information for components
I was trying to access the payment_profile of a subscription that did not have one. When doing so an Undefined method "credit_card" exception was being thrown. I added a check to the payment_profile method to check and see if the instance responds to credit_card before attempting to return it.
…st stub, since the payload params in Subscription#charge are sent as POST headers (see chargify_api_ares.rb:141).
…tion specs, so /subscriptions/1/... and not /subscriptions/new/... is generated.
… since looking up the subscription hits that path.