workarea-storefront 3.4.21 → 3.4.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/test/integration/workarea/storefront/checkout_side_effects_integration_test.rb +1 -1
- data/test/integration/workarea/storefront/checkouts_integration_test.rb +1 -1
- data/test/integration/workarea/storefront/impersonations_integration_test.rb +1 -1
- data/test/integration/workarea/storefront/order_data_integration_test.rb +1 -1
- data/test/integration/workarea/storefront/place_order_integration_test.rb +4 -4
- data/test/integration/workarea/storefront/placing_order_integration_test.rb +1 -1
- data/test/integration/workarea/storefront/store_credit_integration_test.rb +1 -1
- data/test/integration/workarea/storefront/users/credit_cards_integration_test.rb +2 -2
- 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: 0fe4a1dce9f39427191f3aa105ce5fdcb3d931c1fc90f93f257d182de9dc22ed
|
4
|
+
data.tar.gz: 8a07748c2bb30bc1b94491098eeefb37f345d0ade9d169cc63f3756def6671ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c49f458d4cd609471c319f08bdd91e7e1213bb727ee865b52a126fe5db641d70c158ea24aa471abc76629be91c82d0925984ee085c562115820e5df455ccd779
|
7
|
+
data.tar.gz: 74c7e42f48a73d6a151ff0a031b4208adda412c6cea3a77b686bfada28826523bb8c8eb1afb588d0dc71dc6d96bb2c4f2ae2a0bc87a8ef45f1bce70f13cf51bb
|
@@ -74,7 +74,7 @@ module Workarea
|
|
74
74
|
assert_equal('Crouse', credit_card.last_name)
|
75
75
|
assert_equal('XXXX-XXXX-XXXX-1', credit_card.display_number)
|
76
76
|
assert_equal(1, credit_card.month)
|
77
|
-
assert_equal(
|
77
|
+
assert_equal(next_year, credit_card.year)
|
78
78
|
refute(credit_card.token.blank?)
|
79
79
|
|
80
80
|
complete_checkout('bcrouse@workarea.com', 'W3bl1nc!')
|
@@ -108,7 +108,7 @@ module Workarea
|
|
108
108
|
assert_equal('Test Card', payment.credit_card.issuer)
|
109
109
|
assert_equal('XXXX-XXXX-XXXX-1', payment.credit_card.display_number)
|
110
110
|
assert_equal(1, payment.credit_card.month)
|
111
|
-
assert_equal(
|
111
|
+
assert_equal(next_year, payment.credit_card.year)
|
112
112
|
refute(payment.credit_card.token.blank?)
|
113
113
|
assert(payment.credit_card.saved_card_id.blank?)
|
114
114
|
|
@@ -66,7 +66,7 @@ module Workarea
|
|
66
66
|
credit_card: {
|
67
67
|
number: '1',
|
68
68
|
month: 1,
|
69
|
-
year:
|
69
|
+
year: next_year,
|
70
70
|
cvv: '999'
|
71
71
|
}
|
72
72
|
}
|
@@ -81,7 +81,7 @@ module Workarea
|
|
81
81
|
credit_card: {
|
82
82
|
number: '2',
|
83
83
|
month: 1,
|
84
|
-
year:
|
84
|
+
year: next_year,
|
85
85
|
cvv: '999'
|
86
86
|
}
|
87
87
|
}
|
@@ -97,7 +97,7 @@ module Workarea
|
|
97
97
|
credit_card: {
|
98
98
|
number: '1',
|
99
99
|
month: 1,
|
100
|
-
year:
|
100
|
+
year: next_year,
|
101
101
|
cvv: '999'
|
102
102
|
}
|
103
103
|
}
|
@@ -117,7 +117,7 @@ module Workarea
|
|
117
117
|
credit_card: {
|
118
118
|
number: '1',
|
119
119
|
month: 1,
|
120
|
-
year:
|
120
|
+
year: next_year,
|
121
121
|
cvv: '999'
|
122
122
|
}
|
123
123
|
}
|
@@ -98,7 +98,7 @@ module Workarea
|
|
98
98
|
assert_equal('Test Card', payment.credit_card.issuer)
|
99
99
|
assert_equal('XXXX-XXXX-XXXX-1', payment.credit_card.display_number)
|
100
100
|
assert_equal(1, payment.credit_card.month)
|
101
|
-
assert_equal(
|
101
|
+
assert_equal(next_year, payment.credit_card.year)
|
102
102
|
assert_equal(13.19.to_m, payment.credit_card.amount)
|
103
103
|
refute(payment.credit_card.token.blank?)
|
104
104
|
assert_equal(1, payment.credit_card.transactions.length)
|
@@ -49,14 +49,14 @@ module Workarea
|
|
49
49
|
params: {
|
50
50
|
credit_card: {
|
51
51
|
month: '2',
|
52
|
-
year:
|
52
|
+
year: next_year.to_s,
|
53
53
|
cvv: '999'
|
54
54
|
}
|
55
55
|
}
|
56
56
|
|
57
57
|
credit_card.reload
|
58
58
|
assert_equal(2, credit_card.month)
|
59
|
-
assert_equal(
|
59
|
+
assert_equal(next_year, credit_card.year)
|
60
60
|
end
|
61
61
|
|
62
62
|
def test_removes_credit_cards
|
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.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Crouse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-26 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.22
|
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.22
|
27
27
|
description: Provides user-facing ecommerce storefront functionality for the Workarea
|
28
28
|
Commerce Platform.
|
29
29
|
email:
|