Age | Commit message (Collapse) | Author |
|
APP_CONFIG[:braintree] into APP_CONFIG[:billing][:braintree]
|
|
Conflicts:
billing/config/locales/en.yml
|
|
|
|
|
|
subscription's balance.
|
|
pastdue subscription, as then admins won't be able to search for them.
|
|
|
|
should prevent one from adding a new subscription.
|
|
customer in any way.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There might not have been any transactions. Fixes the functional test
|
|
functional: test canceling a subscription
integration: investigate the issue with creating a subscription
|
|
want to test regarding subscriptions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I think this is very confusing and should be changed to:
resource :users do |user|
user.resource :customer
end
|
|
Read Braintree config from file
|
|
user variable, due to complication that an admin might be accessing data for another user.
|
|
This can be set per environment and also is not tracked in git
|
|
edit for other users.
|
|
|
|
customer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This actually required three little fixes:
* couchrest_session_store updated to 0.1.2 to make sure we store sessions
* use BraintreeTestApp to proxy braintree requests that RackTest assumes
are local
* do not attempt to read status after a capybara request
Also refactored the test a bit to set @user and login during setup.
|
|
|
|
|
|
|
|
The default CouchRest Model belongs_to does not respect the class option.
So we need to write our own getter method.
|
|
|