Maikel Linke
|
622517501c
|
Make spec robust on slow computers
This spec just failed in an unrelated pull request.
https://travis-ci.org/openfoodfoundation/openfoodnetwork/jobs/403435522
This change should fix it even on very slow computers.
|
2018-07-13 19:10:06 +10:00 |
|
Rob Harrington
|
d7d40a4a0f
|
Create new OrderFactory service object for initializing order from attr hash
|
2018-02-22 16:16:49 +11:00 |
|
Rob Harrington
|
7017c8540c
|
Replace references to 'standing line item' with 'subscription line item'
|
2018-02-09 14:44:15 +11:00 |
|
Rob Harrington
|
b7876ebfbf
|
Replace references to 'standing order' with 'subscription' (spec)
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
fb28940952
|
Use Time.zone.now instead of Time.now
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
03f1980b1b
|
Auto-correct rubocop offences for standing-orders
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
c94badbf36
|
Stub or provide mailer as appropriate
|
2018-02-09 14:44:04 +11:00 |
|
Rob Harrington
|
fce2d743e5
|
Adding proxy-order state to specs
|
2018-02-09 14:44:02 +11:00 |
|
Rob Harrington
|
0cf7d1a63d
|
Link standing order orders to user on initialisation if customer user exists
|
2018-02-09 14:43:56 +11:00 |
|
Rob Harrington
|
e6fbdb17e8
|
Only initialise a proxy order once
|
2018-02-09 14:43:55 +11:00 |
|
Rob Harrington
|
875557dc9d
|
WIP: ProxyOrders don't require an order, fixing remainder of specs
|
2018-02-09 14:43:55 +11:00 |
|
Rob Harrington
|
4b440c83a4
|
WIP: ProxyOrders don't require an order, StandingOrderForm changes
|
2018-02-09 14:43:55 +11:00 |
|
Rob Harrington
|
2231d4c6cf
|
Using factories to build spec data rather than StandingOrderForm
|
2018-02-09 14:43:54 +11:00 |
|
Rob Harrington
|
e29a4f9a8a
|
Moving order initialisation logic from StandingOrderForm to ProxyOrder model
|
2018-02-09 14:43:54 +11:00 |
|
Rob Harrington
|
64206bc35b
|
ProxyOrders belong to order cycles
|
2018-02-09 14:43:54 +11:00 |
|
Rob Harrington
|
e351c3e355
|
Renaming StandingOrderOrder to ProxyOrder
|
2018-02-09 14:43:54 +11:00 |
|