80 Commits

Author SHA1 Message Date
Rimian Perkins
c90d4b2f8e fix params 2019-09-13 14:34:06 +10:00
Rimian Perkins
404bede398 fix snake case 2019-09-13 13:46:32 +10:00
Rimian Perkins
7f7bd52552 return empty email if not current user 2019-09-13 12:58:17 +10:00
Rimian Perkins
cb9af7c258 send the current user 2019-09-13 12:35:38 +10:00
Rimian Perkins
32bf78fa9a send a description to the payment intent 2019-09-12 19:17:08 +10:00
Rimian Perkins
8785e98464 readme some 2019-09-12 13:13:06 +10:00
Rimian Perkins
ce258d3d08 convert amount in param 2019-09-12 11:49:52 +10:00
Rimian Perkins
af97581911 stub stripe payment create 2019-09-11 19:55:35 +10:00
Rimian Perkins
c70f570479 Rubocop 2019-09-11 19:27:24 +10:00
Rimian Perkins
2e3cdb0dcf fix routes. get specs passing 2019-09-11 19:11:02 +10:00
Rimian Perkins
3f90518e18 controller spec runs 2019-09-11 18:32:09 +10:00
Rimian Perkins
109d6fc137 empty specs 2019-09-11 17:57:29 +10:00
Rimian Perkins
78914e0511 Add new plugin files.
This gets the plugin running again without name collisions. A solid starting point
2019-09-11 13:19:07 +10:00
Rimian Perkins
6f826ce7a0 rubocop correct 2019-08-27 20:04:02 +10:00
Rimian Perkins
a654f7410d rm fails 2019-08-27 18:48:54 +10:00
Rimian Perkins
4c25aa0ad1 add the current user to specs 2019-08-27 18:37:14 +10:00
Rimian Perkins
5724e6d2ed add the json format 2019-08-27 17:29:19 +10:00
Rimian Perkins
4dad8547ca disable shoulda permit 2019-08-27 17:23:22 +10:00
Rimian Perkins
3bde870998 test no account create 2019-08-27 17:10:49 +10:00
Rimian Perkins
ae3e67d385 add more stripe factories 2019-08-27 16:43:55 +10:00
Rimian Perkins
53b1e47216 name space fabricators. add plans 2019-08-27 16:28:35 +10:00
Rimian Perkins
c8bcc1eb28 factory for stripe responses 2019-08-27 16:06:37 +10:00
Rimian Perkins
1315d240e6 simplify the http stubs 2019-08-27 12:53:20 +10:00
Rimian Perkins
4b41756cfa a zillion http stubs to get this spec to pass! 2019-08-27 11:57:51 +10:00
Rimian Perkins
0fb2026123 remove redundant spec 2019-08-26 18:42:06 +10:00
Chris Beach
dd7e86930f Include timestamp in messages to user.
Permit email param in checkout_controller
Fix failing tests
2018-01-18 00:21:41 +00:00
Chris Beach
173f090c4f Disable that darned discobot 2017-10-16 12:48:26 +01:00
Chris Beach
340959c73b Fix failing tests (likely due to Discourse Rails upgrade) 2017-10-11 23:48:41 +01:00
Rimian Perkins
17a43740d6 fix missing strong param 2017-05-23 14:32:52 +10:00
Rimian Perkins
b8130f9969 Revert "use site setting instead of params for create account"
This reverts commit 05c31f19099af7c981702590ed980632782c17bd.

* also test the create account setting cannot be overwritten
2017-05-18 12:02:26 +10:00
Rimian Perkins
1def5daccb add the right params for controller specs 2017-05-18 11:48:54 +10:00
Rimian Perkins
c091676cb5 permit stripe token and amount 2017-05-18 10:46:11 +10:00
Rimian Perkins
cb03671c19 permit params 2017-05-17 14:17:37 +10:00
Rimian Perkins
05c31f1909 use site setting instead of params for create account 2017-05-17 10:30:28 +10:00
Rimian Perkins
344abb6418 specify first argument as per this: http://stackoverflow.com/questions/43881911/ruby-mocha-expect-the-first-argument-to-be-a-symbol 2017-05-11 10:12:49 +10:00
Rimian Perkins
c90245dce6 expect the job to be queued 2017-05-10 11:17:39 +10:00
Rimian Perkins
f008f91a79 no accounts created 2017-05-10 10:05:53 +10:00
Rimian Perkins
0da6dd5610 fix success specs 2017-05-08 11:40:15 +10:00
Rimian Perkins
a32473ef10 check payment and rewards do not happen on failure 2017-05-05 10:27:34 +10:00
Rimian Perkins
3792073e7d output success status on failure like discourse does 2017-05-05 10:24:22 +10:00
Rimian Perkins
223e6bc179 check password length and tidy up 2017-05-05 09:57:26 +10:00
Rimian Perkins
cc46445b24 use translations for missing params 2017-05-04 20:11:26 +10:00
Rimian Perkins
4fe5a0462a disallows reserved usernames 2017-05-04 19:49:30 +10:00
Rimian Perkins
690ee1d25b fix up name space collisions 2017-05-04 12:39:45 +10:00
Rimian Perkins
256b44ad60 messages are an array 2017-05-03 15:13:41 +10:00
Rimian Perkins
53ebcf4625 pluralize messages name space 2017-05-03 09:59:10 +10:00
Rimian Perkins
e2a12a1b11 handle the response in the controller 2017-05-02 10:02:07 +10:00
Rimian Perkins
9e082b7dcc merge in create account 2017-05-01 10:42:34 +10:00
Rimian Perkins
2aa663d922 merge in master 2017-04-27 20:35:33 +10:00
Rimian Perkins
638eb21005 output 2017-04-27 20:27:57 +10:00