1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
Commit Graph

4382 Commits

Author SHA1 Message Date
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
Sylvain
456e2c42b4 Merge branch 'hotfix' into 2-0-rc1 2016-04-06 17:46:57 +02:00
Sylvain
929e756b10 [bug] fix incorrect VAT rate on invoices 2016-04-06 17:46:24 +02:00
Sylvain
c2cb497283 Merge branch 'tests' of git.sleede.com:projets/fab-manager into tests 2016-04-06 17:10:25 +02:00
Sylvain
5ed9090df8 completed subscription test for user 2016-04-06 17:10:15 +02:00
Nicolas Florentin
f334f76ef8 improves stripe_card_token test helper 2016-04-06 16:26:45 +02:00
Sylvain
2e2f25ce47 fix D3 date format for test 2016-04-06 16:01:59 +02:00
Sylvain
43f076191c using VCR in subscription test 2016-04-06 15:57:27 +02:00
Sylvain
1e39c53d0d configure secrets for tests 2016-04-06 15:55:56 +02:00
Sylvain
02febd458a Merge branch 'tests' of git.sleede.com:projets/fab-manager into tests 2016-04-06 15:23:20 +02:00
Sylvain
baa692dfb9 fix subscription test 2016-04-06 15:23:13 +02:00
Nicolas Florentin
2cd1127a09 updates tests to use test helpers 2016-04-06 15:22:32 +02:00
Nicolas Florentin
23884bc2c5 Merge branch 'tests' of git.sleede.com:projets/fab-manager into tests 2016-04-06 15:15:14 +02:00
Nicolas Florentin
83d8bdf9b0 installs vcr and adds an integration test for reservation 2016-04-06 15:15:09 +02:00
Sylvain
150e58d47f test invalid abuse 2016-04-06 14:58:53 +02:00
Sylvain
773e87ecd4 abuses test 2016-04-06 14:45:39 +02:00
Sylvain
76c70b0ed4 basic subscription test 2016-04-06 11:27:56 +02:00
Nicolas Florentin
5358cdc19e Merge branch '2-0-rc1' of git.sleede.com:projets/fab-manager into 2-0-rc1 2016-04-05 12:37:20 +02:00
Nicolas Florentin
1ec12ff595 update database name in database.yml.default 2016-04-05 12:36:55 +02:00
Nicolas Florentin
b6dcacaa8a updates tests to use fixtures 2016-04-05 12:28:42 +02:00
Nicolas Florentin
2c2e4dfb51 active_record_base dump_fixtures method handle model without id column 2016-04-05 12:28:22 +02:00
Nicolas Florentin
a5f6839e39 fix users_roles.yml fixture file 2016-04-05 12:27:48 +02:00
Nicolas Florentin
dd6ecaa1cd finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
cyril
35467173b0 add enable starttls auto for env prod 2016-04-05 11:38:28 +02:00
Sylvain
bc051cfd14 fix typos in README 2016-04-05 11:11:14 +02:00