1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-04 15:24:23 +01:00
Commit Graph

6906 Commits

Author SHA1 Message Date
Sylvain
cc8991f6bc fix test fixtures 2016-04-12 16:51:36 +02:00
Sylvain
7817e285f0 rake task to remove stripe secrets from VCR cassettes 2016-04-12 16:43:10 +02:00
Sylvain
745a89f18f [fixtures] make subscriptions dates dynamic 2016-04-12 15:41:22 +02:00
Sylvain
59153f4298 test admin renew subscription 2016-04-12 15:09:47 +02:00
Sylvain
ef72d07a9e [bug taiga#21] undefined method[] on notify_admin_profile_complete 2016-04-12 14:18:07 +02:00
Sylvain
d1a9a69d14 [bug taiga#20] group change not propagated 2016-04-12 10:10:16 +02:00
cyril
4845c1cc91 update readme and docker readme 2016-04-11 20:24:09 +02:00
Sylvain
563266f160 [bug taiga#20] group change not propagated (partial fix) 2016-04-11 19:26:40 +02:00
Sylvain
4b6f3c5ea7 [bug taiga#22] display problem in stats for gender=woman 2016-04-11 18:47:16 +02:00
Sylvain
f9628b4989 prevent subscription creation/modification if card_token is invalid 2016-04-11 18:37:15 +02:00
Sylvain
b8f45da268 Merge branch 'dev' 2016-04-11 17:17:56 +02:00
Sylvain
b9030d8f8d Merge branch '2-0-rc1' into dev 2016-04-11 17:17:47 +02:00
Sylvain
fb2aee7cc5 [bug] fix VAT row and HT total row on invoices 2016-04-11 17:17:33 +02:00
Sylvain
31ee151809 reproductible tests for invoice generation 2016-04-11 15:31:25 +02:00
Sylvain
01ca290582 Merge branch 'dev' 2016-04-11 11:41:46 +02:00
Sylvain
aa3b3dd631 Merge branch '2-0-rc1' into dev 2016-04-11 11:41:38 +02:00
Sylvain
1f8f54d64f mails translations in english 2016-04-11 11:32:32 +02:00
Sylvain
5f2d134a17 mails translations in english 2016-04-11 11:32:26 +02:00
Sylvain
f003c0fb22 mails translations in english 2016-04-11 11:32:05 +02:00
Sylvain
5c7d52a6f3 mails translations in english 2016-04-11 11:31:32 +02:00
Sylvain
1d36ffce17 add infos about Postgre config for tests 2016-04-11 09:38:09 +02:00
Sylvain
9102501969 fix typo in readme 2016-04-11 09:06:04 +02:00
Nicolas Florentin
1344e09f96 adds comments to model reservation 2016-04-08 16:59:09 +02:00
Nicolas Florentin
fa64fd7a2e remove useless method 2016-04-08 16:58:46 +02:00
Nicolas Florentin
b46ee9177c adds comments to service UsersCredits::Manager 2016-04-08 11:26:31 +02:00
Nicolas Florentin
d104403af0 little fix Reservation#generate_invoice_items take into account that plan can be purchased at the same time when reserving machine 2016-04-08 11:17:52 +02:00
Nicolas Florentin
c78e010888 refacto method generate_invoice_items using UsersCredits::Manager service 2016-04-08 11:12:03 +02:00
Nicolas Florentin
d22574dae4 UsersCredits::Manager is more strict about arguments that have to be passed 2016-04-08 11:11:42 +02:00
Nicolas Florentin
dbe8d42663 adds byebug to gemfile for group test 2016-04-08 11:10:36 +02:00
Nicolas Florentin
aee8146040 users_credits/manager service: initializing service, you can pass a plan to simulate that user have that plan 2016-04-08 10:33:50 +02:00
Nicolas Florentin
74e2d170bf adds integration test for reservations for user with invoicing disabled 2016-04-08 10:02:45 +02:00
cyril
fe9847a518 update Dockerfile + env.example 2016-04-08 06:02:09 +02:00
Nicolas Florentin
9bfd5e0362 removes block from Sidekiq::Testing setup in test_helper unless tests don't pass anymore 2016-04-07 18:05:23 +02:00
Nicolas Florentin
a5067ff466 Merge branch 'tests' of git.sleede.com:projets/fab-manager into tests 2016-04-07 17:57:59 +02:00
Nicolas Florentin
7649e953e4 refacto subscription extension with first training using a service 2016-04-07 17:57:48 +02:00
Nicolas Florentin
7a523a1cf8 adds reservation integration test to test subscription extension when plan is_rolling true 2016-04-07 17:56:54 +02:00
Nicolas Florentin
8c3f2d2862 implements a service to handle subscription extension after reservation, comes with tests 2016-04-07 17:55:36 +02:00
Sylvain
e0dca6c744 [ongoing] renew subscription test 2016-04-07 17:46:23 +02:00
Nicolas Florentin
7748d601f8 uses users_credits/manager service in models reservation and subscription, and adds integration tests 2016-04-07 16:02:09 +02:00
Nicolas Florentin
02b56ed6a7 users_credits/manager service, handle the case if user does not have a plan 2016-04-07 16:01:31 +02:00
Nicolas Florentin
2ab8d04a68 adds comment to model invoice_item 2016-04-07 16:00:12 +02:00
Nicolas Florentin
6004dd409c Merge branch 'tests' of git.sleede.com:projets/fab-manager into tests 2016-04-07 12:57:15 +02:00
Nicolas Florentin
823b4c5e1d updates users_credits module and manager and adds tests 2016-04-07 12:57:08 +02:00
Sylvain
b72609c072 test and validation from plan group 2016-04-07 12:28:25 +02:00
Nicolas Florentin
28fcd121b4 renames service of users credits manager 2016-04-06 18:26:02 +02:00
Nicolas Florentin
752f40a951 Merge branch 'tests' of git.sleede.com:projets/fab-manager into tests 2016-04-06 18:24:51 +02:00
Nicolas Florentin
44fcb2e089 draft a service to handle users credits 2016-04-06 18:24:26 +02:00
Nicolas Florentin
f12646aaf9 adds integration tests for reservation 2016-04-06 18:23:32 +02:00
Sylvain
2a4ff82a15 test admin create subscription 2016-04-06 18:17:33 +02:00
Sylvain
6027fb5f38 Merge branch 'hotfix' into tests 2016-04-06 17:47:10 +02:00