Rohan Mitchell
|
7b332d0f53
|
Re-group add to cart specs
|
2013-05-27 18:12:59 +10:00 |
|
Rohan Mitchell
|
a2abcaf7bd
|
Push product_compatible_with_current_order and available_distributors_for down to DistributorChangeValidator, add tests
|
2013-05-27 13:50:33 +10:00 |
|
Rohan Mitchell
|
612e6aed2c
|
Include order cycle distributions in distributor choice when adding product to cart
|
2013-05-27 13:12:29 +10:00 |
|
Rohan Mitchell
|
a21783c814
|
Allow changing distributor when there are alternate distributors available that can service the cart's order
|
2013-05-27 13:11:30 +10:00 |
|
Rohan Mitchell
|
e3a419993c
|
Work around order cycles not having fees / shipping methods yet - notify bugsnag and provide an undefined shipping method
|
2013-05-27 13:00:12 +10:00 |
|
vagrant
|
4e7f966429
|
add suppliers scope, limit by 5, test
|
2013-05-22 13:07:30 +10:00 |
|
Rohan Mitchell
|
f19ef4ed07
|
Move save button back within form, fix failing test
|
2013-05-20 16:05:25 +10:00 |
|
Rohan Mitchell
|
cc2e8694f0
|
Move LineItem update to source of change (order update). On empty cart, re-instanciate shipping method adjustment, fixing no shipping fees after empty cart bug.
|
2013-05-20 15:01:04 +10:00 |
|
Rohan Mitchell
|
d65dda4dc5
|
When order distributor changes, update line item shipping method
|
2013-05-18 19:21:01 +10:00 |
|
Rohan Mitchell
|
06c285689e
|
Order confirmation email contains distributor info
|
2013-04-29 11:14:00 +10:00 |
|
Rohan Mitchell
|
92a7f19ff1
|
Add specs for enterprises distributor info as rich text feature
|
2013-04-26 15:43:13 +10:00 |
|
Rohan Mitchell
|
9f6d1a2f18
|
Order cycle reports are precise to time of day, not just date
|
2013-04-25 21:22:26 +10:00 |
|
Rohan Mitchell
|
7bee04e5f6
|
Update selenium-webdriver, test with eaterprises deployment settings by default
|
2013-04-22 16:48:49 +10:00 |
|
Rohan Mitchell
|
ff9200ebb8
|
Display order cycle distributors on product details page
|
2013-04-12 13:18:40 +10:00 |
|
Rohan Mitchell
|
6e7ee6481d
|
Fetch enterprises that are distributing a product via a product or order cycle distribution
|
2013-04-12 10:13:04 +10:00 |
|
Rohan Mitchell
|
f66ff0f8b1
|
Rename Enterprise#available_variants to distributed_variants to remove ambiguity between supplied/distributed variants
|
2013-04-05 16:51:51 +11:00 |
|
Rohan Mitchell
|
5649a50e28
|
Add tests around Enterprise#available_variants, make it also show variants distributed via an order cycle
|
2013-04-05 16:49:27 +11:00 |
|
Rohan Mitchell
|
fa11ff8982
|
Remove more spork-specific things, remove unused cuc config from zeus
|
2013-04-05 15:25:46 +11:00 |
|
Rohan Mitchell
|
ed7bded642
|
Remove spork
|
2013-04-05 15:16:54 +11:00 |
|
Rohan Mitchell
|
02b524bfce
|
Fix our monkey-patch of spree's order merging to accomodate orders having an order cycle
|
2013-04-05 15:00:42 +11:00 |
|
Rohan Mitchell
|
990931e006
|
Test splitting the product listing by local/remote order cycle
|
2013-04-05 14:32:23 +11:00 |
|
Rohan Mitchell
|
f95c6a2386
|
Extract stub building into private method
|
2013-04-05 14:11:31 +11:00 |
|
Rohan Mitchell
|
e735a709bf
|
SplitProductsByDistribution deals with order cycles, and is tested by stubs
|
2013-04-05 14:05:30 +11:00 |
|
Rohan Mitchell
|
3aa48907a6
|
Add per-product tests for membership of distributor or order cycle
|
2013-04-05 12:45:01 +11:00 |
|
Rohan Mitchell
|
cf4fe269d1
|
Add specs for splitting products by various distribution options
|
2013-04-05 11:41:37 +11:00 |
|
Rohan Mitchell
|
a11f36e121
|
Provide pry in test env when we're not building with Travis
|
2013-04-05 11:30:26 +11:00 |
|
Rohan Mitchell
|
b3976bfbd0
|
Rename SplitProductsByDistributor to SplitProductsByDistribution
|
2013-04-05 11:08:19 +11:00 |
|
Rohan Mitchell
|
7cc24f7340
|
Handle the case where we're viewing a product from a remote distributor that we can change to
|
2013-04-05 10:28:08 +11:00 |
|
Rohan Mitchell
|
c681750698
|
Move distributor/OC browsing into its own acceptance spec
|
2013-03-27 11:58:38 +11:00 |
|
Rohan Mitchell
|
a9a58db137
|
Add spec for viewing product counts when both a distributor and an order cycle are selected, scope Spree::Product.with_order_cycles_outer joins to avoid clash when using both in_distributor and in_order_cycle in the same query
|
2013-03-15 12:17:29 +11:00 |
|
Rohan Mitchell
|
f349628202
|
Test that products by ProductDistribution are not shown
|
2013-03-15 11:41:58 +11:00 |
|
Rohan Mitchell
|
5089d3bb22
|
Add simplecov
|
2013-03-11 10:57:14 +11:00 |
|
Rohan Mitchell
|
711f769bcd
|
Remove QueriesProductDistribution - replaced by Product and Enterprise scopes
|
2013-03-08 16:57:54 +11:00 |
|
Rohan Mitchell
|
b25dcaa92b
|
Enterprise.active_distributors doesn't show distributors from inactive order cycles
|
2013-03-08 16:54:22 +11:00 |
|
Rohan Mitchell
|
2a890f80f4
|
Enterprise.active_distributors doesn't show distributors of out of stock products
|
2013-03-08 16:48:35 +11:00 |
|
Rohan Mitchell
|
13abf9ada7
|
Enterprise.active_distributors doesn't show distributors of unavailable products
|
2013-03-08 16:46:25 +11:00 |
|
Rohan Mitchell
|
cd61bad0b9
|
Enterprise.active_distributors doesn't show distributors of deleted products
|
2013-03-08 16:43:45 +11:00 |
|
Rohan Mitchell
|
00d7fcbfb6
|
Enterprise.active_distributors finds active distributors by order cycles
|
2013-03-08 16:39:42 +11:00 |
|
Rohan Mitchell
|
98cad56e7c
|
Enterprise.active_distributors finds active distributors by product distributions
|
2013-03-08 16:23:45 +11:00 |
|
Rohan Mitchell
|
4b642f8c90
|
Convert to 1.9 hash syntax
|
2013-03-08 15:18:53 +11:00 |
|
Rohan Mitchell
|
43843f05b1
|
WIP: Add edge case tests
|
2013-03-08 15:18:53 +11:00 |
|
Rohan Mitchell
|
d02e8fece5
|
WIP: Spec that no duplicates are shown
|
2013-03-08 15:18:53 +11:00 |
|
Rohan Mitchell
|
dd3c72199a
|
WIP: Add spec for in_order_cycle
|
2013-03-08 15:18:53 +11:00 |
|
Rohan Mitchell
|
6d6390b886
|
WIP: Spec in_supplier_or_distributor
|
2013-03-08 15:18:53 +11:00 |
|
Rohan Mitchell
|
5c64e18360
|
WIP: Refactor tests - positive and negative into single cases for easier managability
|
2013-03-08 15:18:53 +11:00 |
|
Rohan Mitchell
|
29a9526b3f
|
WIP: Add spec for in_distributor
|
2013-03-08 15:18:53 +11:00 |
|
Rohan Mitchell
|
8e1c9e7bcc
|
WIP: Add notes, put in Spree module, write in_supplier scope spec
|
2013-03-08 15:18:53 +11:00 |
|
Rohan Mitchell
|
e326e590db
|
Implement and use scopes for finding products by distributor via order cycle or product distribution
|
2013-03-08 15:18:53 +11:00 |
|
Rohan Mitchell
|
265336b70c
|
When looking up distributors for sidebar, include both those in ProductDistributions and in OrderCycles
|
2013-03-08 15:18:53 +11:00 |
|
Rohan Mitchell
|
1285d507eb
|
Revert "Create order cycles where needed by tests"
This reverts commit b82e0007c9b0322e85e5597634628024e839d102.
Conflicts:
spec/factories.rb
spec/features/consumer/order_cycles_spec.rb
|
2013-03-08 15:18:53 +11:00 |
|