summaryrefslogtreecommitdiff
path: root/billing
AgeCommit message (Collapse)Author
2013-09-18working integration testAzul
2013-09-18refactor: stub_customer test helperAzul
2013-09-18test subscription owner via credit card not transactionsAzul
There might not have been any transactions. Fixes the functional test
2013-09-18failing tests for subscriptionsAzul
functional: test canceling a subscription integration: investigate the issue with creating a subscription
2013-09-17This doesn't actually run any tests, but at least includes what we might ↵jessib
want to test regarding subscriptions.
2013-09-09First run at having admins cancel user subscriptions.jessib
2013-09-03remove the user after integration testing customer creationAzul
2013-09-03different tests need different namesAzul
2013-09-03do not leave behind users in billing unit and functional testsAzul
2013-08-30also replace find_by_param in billing engineAzul
2013-08-22Some more billing cleanup.jessib
2013-08-15Some notes on tests that don't work. (Failing tests are skipped though.)jessib
2013-08-12Remove broken test.jessib
2013-08-12more integration tests for billingAzul
2013-08-09fix billing tests to use user id with customer resourcesAzul
I think this is very confusing and should be changed to: resource :users do |user| user.resource :customer end
2013-08-08Merge pull request #1 from azul/braintree_conf_from_filejessib
Read Braintree config from file
2013-08-08Still a bit hacky, but catching some more corner cases as far as setting the ↵jessib
user variable, due to complication that an admin might be accessing data for another user.
2013-08-08read braintree configuration from config/config.ymlAzul
This can be set per environment and also is not tracked in git
2013-08-06Some more tweaks to have billing code work, and allow admins to view but not ↵jessib
edit for other users.
2013-08-01Start to functionality for admins viewing billing of other users.jessib
2013-07-25Have navigation link to new customer form if user is not already a braintree ↵jessib
customer.
2013-07-23Maybe not optimized, but gets working.jessib
2013-07-23More little display cleanup.jessib
2013-07-23Some clean-up of billing display.jessib
2013-07-23Some navigation tweaks.jessib
2013-07-22Slight tweaks so navigation basically should work with billing.jessib
2013-07-17billing: helper for the typical BraintreeFormAzul
2013-07-17billing bring back test for #with_braintree_data!Azul
2013-07-17billing: fix integration testAzul
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.
2013-07-17billing: integration test creating customerAzul
2013-07-17billing: functional test for payments controllerAzul
2013-07-17billing: update customer records - do not create new onesAzul
2013-07-17billing: fix issue with customer.braintree_customerAzul
The default CouchRest Model belongs_to does not respect the class option. So we need to write our own getter method.
2013-07-17billing: functional tests reveal issue with customer.braintree_customerAzul
2013-07-17use fake_braintree, fix and test customer with braintree infoAzul
2013-07-17test non braintree parts of customer, validate userAzul
2013-07-17More cleanup of billing code.jessib
2013-07-17Fix issue with transparent redirect if form is first submitted incorrectly. ↵jessib
Based on: https://github.com/bvsatyaram/braintree_ruby_examples/commit/00f4852af60f0b1aae188fb11a9d5d06780d1539
2013-07-17Back to singular-customer controller, in hopes that would help some confusions.jessib
2013-07-17Some links at end of confirmation pages.jessib
2013-07-17Start to Readme for explaining how to test this locally with one's own sandbox.jessib
2013-07-17Note about knowing sort order for returned transactionsjessib
2013-07-17Display 3 most recent transactions on a customer's page, with a link to all ↵jessib
of their transactions.
2013-07-17Show single active subscription from user's page, with link to index showing ↵jessib
all the user's subscriptions.
2013-07-17Added notices to redirects.jessib
2013-07-17Very rough start to tests, which still doesn't really use FakeBraintree.jessib
2013-07-17Changing customers route to be plural.jessib
2013-07-17Some improvements to navigation, and pulling out separate show/edit views ↵jessib
for customers.
2013-07-17Basic functionality to edit credit card on file.jessib
2013-07-17Basic display of a customer's transaction informationjessib