workarea-storefront 3.4.32 → 3.4.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/workarea/storefront/checkout/addresses_controller.rb +2 -0
- data/app/controllers/workarea/storefront/users/credit_cards_controller.rb +2 -5
- data/test/integration/workarea/storefront/checkouts_integration_test.rb +26 -0
- data/test/integration/workarea/storefront/place_order_integration_test.rb +3 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91d37a60de2ee9cfd79b596d8b9780b71126d32a5e4c5275b39bf853c71637c1
|
4
|
+
data.tar.gz: 31a7393a767ca1b09237b4ea9b8e141a862c5877e90922f9556fc80a24768dab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 692bf8543e3c83d6df6921b6c24a5a8e516c8e798f6b0e4c23238e1148c3fd36d61817b6ee90ace531da74a1fcb354e6057db80da0ad6fa516405a19d08441aa
|
7
|
+
data.tar.gz: 426f30b6386053bbce70d83106fc4582214324248e05fb91191d1427d9593de54b00838e0583f32feeb46d87852389141220841f285e266e852237750f542110
|
@@ -262,6 +262,32 @@ module Workarea
|
|
262
262
|
|
263
263
|
assert(flash[:error].present?)
|
264
264
|
end
|
265
|
+
|
266
|
+
def test_no_required_shipping_address_options_flash_message
|
267
|
+
product = create_product(digital: true)
|
268
|
+
|
269
|
+
post storefront.cart_items_path,
|
270
|
+
params: { product_id: product.id, sku: product.skus.first, quantity: 1 }
|
271
|
+
|
272
|
+
get storefront.checkout_addresses_path
|
273
|
+
|
274
|
+
patch storefront.checkout_addresses_path,
|
275
|
+
params: {
|
276
|
+
email: 'bcrouse@weblinc.com',
|
277
|
+
billing_address: {
|
278
|
+
first_name: 'Ben',
|
279
|
+
last_name: 'Crouse',
|
280
|
+
street: '12 N. 3rd St.',
|
281
|
+
city: 'Philadelphia',
|
282
|
+
region: 'PA',
|
283
|
+
postal_code: '19106',
|
284
|
+
country: 'US',
|
285
|
+
phone_number: '2159251800'
|
286
|
+
}
|
287
|
+
}
|
288
|
+
|
289
|
+
refute(flash[:error].present?)
|
290
|
+
end
|
265
291
|
end
|
266
292
|
end
|
267
293
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workarea-storefront
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.37
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Crouse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: workarea-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.4.
|
19
|
+
version: 3.4.37
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.4.
|
26
|
+
version: 3.4.37
|
27
27
|
description: Provides user-facing ecommerce storefront functionality for the Workarea
|
28
28
|
Commerce Platform.
|
29
29
|
email:
|