solidus_core 2.2.0.beta1 → 2.2.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of solidus_core might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/models/spree/order.rb +1 -1
- data/lib/spree/core/version.rb +1 -1
- data/spec/models/spree/promotion_code_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a15522624dfa81f827698dd5fd73ffe5fafd2a52
|
4
|
+
data.tar.gz: ff81db8c8c4c87cacf80adbcba7c158607d8bdaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 329ac41798ef53df4074ed4177c6e2aba087dc3b649c2347cd42f8b82be890f2e174fce05df657d9db3c807d2aea92f281946913e0bdd068e2360fddb328d57d
|
7
|
+
data.tar.gz: 3f2c6804191a32e6885b662ee19d8fb21fac8ea6097e47f34773e84535f61170f1fc6a1acc4437fa65191856294d91d956830dc5085abcb3a4f04c5fc5475218
|
data/app/models/spree/order.rb
CHANGED
data/lib/spree/core/version.rb
CHANGED
@@ -155,12 +155,12 @@ RSpec.describe Spree::PromotionCode do
|
|
155
155
|
end
|
156
156
|
let(:promo_adjustment) { order.adjustments.promotion.first }
|
157
157
|
before do
|
158
|
-
order.next! until order.
|
158
|
+
order.next! until order.can_complete?
|
159
159
|
|
160
160
|
FactoryGirl.create(:order_with_line_items, line_items_price: 40, shipment_cost: 0).tap do |order|
|
161
161
|
FactoryGirl.create(:payment, amount: 30, order: order)
|
162
162
|
promotion.activate(order: order, promotion_code: code)
|
163
|
-
order.next! until order.
|
163
|
+
order.next! until order.can_complete?
|
164
164
|
order.complete!
|
165
165
|
end
|
166
166
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.0.
|
4
|
+
version: 2.2.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemerchant
|