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

6870 Commits

Author SHA1 Message Date
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
Nicolas Florentin
a2c09a3ff2 adds rake task to generate fixtures from db, adds a class method to ActiveRecord::Base to generate fixtures 2016-04-05 11:02:49 +02:00
Nicolas Florentin
3e112c13eb removes model and migrations relative to old model machines_pricings 2016-04-05 10:52:29 +02:00
Nicolas Florentin
6bcc03834a adds a method to ActiveRecord::Base to dump a model to fixture 2016-04-05 10:08:29 +02:00
Nicolas Florentin
272400a889 adds a dummy integration test 2016-04-05 10:04:15 +02:00
Nicolas Florentin
26e3f5bf8c adds a test to availability model test 2016-04-05 10:03:58 +02:00
Nicolas Florentin
5d38f1e3a5 does not validate length of availability if start_at or end_at are blank and already missing 2016-04-05 09:57:09 +02:00
Nicolas Florentin
4a1c67c8d5 adds method to parse json reponse 2016-04-05 09:51:12 +02:00
Nicolas Florentin
fafec2153c setup test environment and add the first test 2016-04-04 17:42:45 +02:00
Nicolas Florentin
7dd7fb13f6 removing spec folder 2016-04-04 17:41:32 +02:00
Sylvain
2166157724 fix link in readme 2016-03-31 21:25:23 +02:00
Sylvain
5553c33565 clarified doc about setup of database.yml 2016-03-31 21:16:11 +02:00
Sylvain
66a37dc692 fix french typo 2016-03-31 14:08:33 +02:00