workarea-storefront 3.5.12 → 3.5.13
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ea6133352eedf9e8f948a185e5d1b989edc0c9664b21d2de8e5b496429a9938
|
4
|
+
data.tar.gz: 79c3922dc065c153aa2c0d3027d9a224b2a0a12795de5336e7a2083078719930
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0dfcb3326e1fd5f3d70644c6eb5d340495d370f72a380730c9c6775c47c1eed96782e284e7229efbda6b453be1149056e65138339d33bd04091946894f3db088
|
7
|
+
data.tar.gz: 3b2ee21944554f42fef34f75e519626ddf8363c599fd3665328d92d3005946c38d4a5bdd5a639365096a1e93bbaa73389cbfaefd1d934867b8201492985a51e3
|
@@ -351,6 +351,33 @@ module Workarea
|
|
351
351
|
get storefront.checkout_shipping_path
|
352
352
|
assert_equal('foo@bar.com', cookies[:email])
|
353
353
|
end
|
354
|
+
|
355
|
+
def test_no_required_shipping_address_options_flash_message
|
356
|
+
product = create_product(name: 'Digital Product', variants: [{ sku: 'SKU' }])
|
357
|
+
create_fulfillment_sku(id: 'SKU', policy: :download, file: product_image_file)
|
358
|
+
|
359
|
+
post storefront.cart_items_path,
|
360
|
+
params: { product_id: product.id, sku: product.skus.first, quantity: 1 }
|
361
|
+
|
362
|
+
get storefront.checkout_addresses_path
|
363
|
+
|
364
|
+
patch storefront.checkout_addresses_path,
|
365
|
+
params: {
|
366
|
+
email: 'bcrouse@weblinc.com',
|
367
|
+
billing_address: {
|
368
|
+
first_name: 'Ben',
|
369
|
+
last_name: 'Crouse',
|
370
|
+
street: '12 N. 3rd St.',
|
371
|
+
city: 'Philadelphia',
|
372
|
+
region: 'PA',
|
373
|
+
postal_code: '19106',
|
374
|
+
country: 'US',
|
375
|
+
phone_number: '2159251800'
|
376
|
+
}
|
377
|
+
}
|
378
|
+
|
379
|
+
refute(flash[:error].present?)
|
380
|
+
end
|
354
381
|
end
|
355
382
|
end
|
356
383
|
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.5.
|
4
|
+
version: 3.5.13
|
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-06-11 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.5.
|
19
|
+
version: 3.5.13
|
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.5.
|
26
|
+
version: 3.5.13
|
27
27
|
description: Provides user-facing ecommerce storefront functionality for the Workarea
|
28
28
|
Commerce Platform.
|
29
29
|
email:
|