solidus_backend 2.7.4 → 2.9.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of solidus_backend might be problematic. Click here for more details.

Files changed (214) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -8
  3. data/app/assets/images/favicon.ico +0 -0
  4. data/app/assets/javascripts/spree/backend.js +0 -2
  5. data/app/assets/javascripts/spree/backend/adjustments.js +1 -1
  6. data/app/assets/javascripts/spree/backend/components/sortable_table.js +1 -0
  7. data/app/assets/javascripts/spree/backend/components/tabs.js +1 -0
  8. data/app/assets/javascripts/spree/backend/components/tooltips.js +21 -17
  9. data/app/assets/javascripts/spree/backend/option_type_autocomplete.js +1 -1
  10. data/app/assets/javascripts/spree/backend/product_picker.js +1 -1
  11. data/app/assets/javascripts/spree/backend/shipments.js +7 -1
  12. data/app/assets/javascripts/spree/backend/stock_management.js +18 -0
  13. data/app/assets/javascripts/spree/backend/store_credits.js +18 -2
  14. data/app/assets/javascripts/spree/backend/taxons.js +1 -1
  15. data/app/assets/javascripts/spree/backend/templates/orders/line_item.hbs +1 -1
  16. data/app/assets/javascripts/spree/backend/templates/stock_items/stock_location_stock_item.hbs +24 -25
  17. data/app/assets/javascripts/spree/backend/user_picker.js +1 -1
  18. data/app/assets/javascripts/spree/backend/variant_autocomplete.js +1 -1
  19. data/app/assets/javascripts/spree/backend/views/order/customer_select.js +1 -1
  20. data/app/assets/javascripts/spree/backend/views/order/summary.js +2 -2
  21. data/app/assets/javascripts/spree/backend/views/stock/add_stock_item.js +15 -4
  22. data/app/assets/javascripts/spree/backend/views/stock/edit_stock_item_row.js +46 -10
  23. data/app/assets/stylesheets/spree/backend/_bootstrap_custom.scss +24 -16
  24. data/app/assets/stylesheets/spree/backend/components/_breadcrumb.scss +12 -0
  25. data/app/assets/stylesheets/spree/backend/components/_buttons.scss +18 -0
  26. data/app/assets/stylesheets/spree/backend/components/_image_placeholder.scss +2 -2
  27. data/app/assets/stylesheets/spree/backend/components/_list_group.scss +2 -2
  28. data/app/assets/stylesheets/spree/backend/components/_messages.scss +20 -12
  29. data/app/assets/stylesheets/spree/backend/components/_navigation.scss +45 -11
  30. data/app/assets/stylesheets/spree/backend/components/_progress.scss +3 -3
  31. data/app/assets/stylesheets/spree/backend/components/_sidebar.scss +1 -2
  32. data/app/assets/stylesheets/spree/backend/components/_tabs.scss +14 -13
  33. data/app/assets/stylesheets/spree/backend/globals/_deprecated_variables.scss +24 -0
  34. data/app/assets/stylesheets/spree/backend/globals/_deprecation.scss +10 -1
  35. data/app/assets/stylesheets/spree/backend/globals/_functions.scss +2 -0
  36. data/app/assets/stylesheets/spree/backend/globals/_variables.scss +88 -57
  37. data/app/assets/stylesheets/spree/backend/globals/_variables_override.scss +1 -0
  38. data/app/assets/stylesheets/spree/backend/globals/mixins/_caret.scss +1 -1
  39. data/app/assets/stylesheets/spree/backend/globals/mixins/_line_through.scss +1 -1
  40. data/app/assets/stylesheets/spree/backend/sections/_log_entries.scss +8 -2
  41. data/app/assets/stylesheets/spree/backend/sections/_orders.scss +25 -6
  42. data/app/assets/stylesheets/spree/backend/sections/_products.scss +3 -1
  43. data/app/assets/stylesheets/spree/backend/sections/_promotions.scss +5 -5
  44. data/app/assets/stylesheets/spree/backend/sections/_stock_management.scss +77 -2
  45. data/app/assets/stylesheets/spree/backend/sections/_style_guide.scss +4 -4
  46. data/app/assets/stylesheets/spree/backend/sections/_taxonomies.scss +1 -1
  47. data/app/assets/stylesheets/spree/backend/shared/_fonts.scss +15 -0
  48. data/app/assets/stylesheets/spree/backend/shared/_forms.scss +27 -7
  49. data/app/assets/stylesheets/spree/backend/shared/_header.scss +2 -2
  50. data/app/assets/stylesheets/spree/backend/shared/_icons.scss +5 -1
  51. data/app/assets/stylesheets/spree/backend/shared/_layout.scss +5 -4
  52. data/app/assets/stylesheets/spree/backend/shared/_tables.scss +11 -6
  53. data/app/assets/stylesheets/spree/backend/shared/_typography.scss +10 -6
  54. data/app/assets/stylesheets/spree/backend/spree_admin.scss +3 -1
  55. data/app/controllers/spree/admin/cancellations_controller.rb +2 -2
  56. data/app/controllers/spree/admin/customer_returns_controller.rb +8 -1
  57. data/app/controllers/spree/admin/locale_controller.rb +1 -1
  58. data/app/controllers/spree/admin/log_entries_controller.rb +3 -0
  59. data/app/controllers/spree/admin/orders/customer_details_controller.rb +8 -1
  60. data/app/controllers/spree/admin/orders_controller.rb +1 -12
  61. data/app/controllers/spree/admin/products_controller.rb +10 -6
  62. data/app/controllers/spree/admin/promotion_codes_controller.rb +19 -1
  63. data/app/controllers/spree/admin/promotions_controller.rb +1 -1
  64. data/app/controllers/spree/admin/reimbursements_controller.rb +7 -2
  65. data/app/controllers/spree/admin/resource_controller.rb +1 -0
  66. data/app/controllers/spree/admin/store_credit_reasons_controller.rb +8 -0
  67. data/app/controllers/spree/admin/store_credits_controller.rb +11 -11
  68. data/app/controllers/spree/admin/users_controller.rb +4 -2
  69. data/app/helpers/spree/admin/base_helper.rb +9 -3
  70. data/app/helpers/spree/admin/navigation_helper.rb +1 -1
  71. data/app/helpers/spree/admin/promotions_helper.rb +15 -0
  72. data/app/models/spree/backend_configuration.rb +38 -21
  73. data/app/views/spree/admin/cancellations/index.html.erb +3 -1
  74. data/app/views/spree/admin/images/_image_row.html.erb +1 -1
  75. data/app/views/spree/admin/images/edit.html.erb +3 -3
  76. data/app/views/spree/admin/images/index.html.erb +3 -3
  77. data/app/views/spree/admin/log_entries/index.html.erb +1 -19
  78. data/app/views/spree/admin/option_types/edit.html.erb +1 -1
  79. data/app/views/spree/admin/orders/_carton_manifest.html.erb +3 -1
  80. data/app/views/spree/admin/orders/_line_items_edit_form.html.erb +1 -1
  81. data/app/views/spree/admin/orders/_shipment_manifest.html.erb +3 -1
  82. data/app/views/spree/admin/orders/confirm/_line_items.html.erb +3 -2
  83. data/app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb +3 -1
  84. data/app/views/spree/admin/orders/index.html.erb +1 -1
  85. data/app/views/spree/admin/payments/_capture_events.html.erb +15 -18
  86. data/app/views/spree/admin/payments/_list.html.erb +1 -1
  87. data/app/views/spree/admin/payments/_log_entries.html.erb +29 -0
  88. data/app/views/spree/admin/payments/show.html.erb +13 -6
  89. data/app/views/spree/admin/payments/source_forms/{_storecredit.html.erb → _store_credit.html.erb} +0 -0
  90. data/app/views/spree/admin/payments/source_views/{_storecredit.html.erb → _store_credit.html.erb} +0 -0
  91. data/app/views/spree/admin/prices/_form.html.erb +1 -1
  92. data/app/views/spree/admin/product_properties/index.html.erb +1 -1
  93. data/app/views/spree/admin/products/_form.html.erb +23 -12
  94. data/app/views/spree/admin/products/edit.html.erb +5 -0
  95. data/app/views/spree/admin/products/index.html.erb +3 -1
  96. data/app/views/spree/admin/promotion_categories/index.html.erb +1 -1
  97. data/app/views/spree/admin/promotion_code_batches/index.html.erb +1 -1
  98. data/app/views/spree/admin/promotion_codes/index.html.erb +5 -1
  99. data/app/views/spree/admin/promotion_codes/new.html.erb +31 -0
  100. data/app/views/spree/admin/promotions/_actions.html.erb +1 -1
  101. data/app/views/spree/admin/promotions/_activations_edit.html.erb +1 -1
  102. data/app/views/spree/admin/promotions/_form.html.erb +6 -5
  103. data/app/views/spree/admin/promotions/_rules.html.erb +1 -1
  104. data/app/views/spree/admin/promotions/edit.html.erb +3 -1
  105. data/app/views/spree/admin/promotions/index.html.erb +4 -4
  106. data/app/views/spree/admin/refunds/new.html.erb +1 -1
  107. data/app/views/spree/admin/reimbursements/edit.html.erb +2 -2
  108. data/app/views/spree/admin/shared/_address_form.html.erb +10 -3
  109. data/app/views/spree/admin/shared/_edit_resource_links.html.erb +1 -1
  110. data/app/views/spree/admin/shared/_head.html.erb +1 -3
  111. data/app/views/spree/admin/shared/_image.html.erb +2 -2
  112. data/app/views/spree/admin/shared/_modal.html.erb +1 -1
  113. data/app/views/spree/admin/shared/_product_sub_menu.html.erb +1 -1
  114. data/app/views/spree/admin/shared/_settings_checkout_tabs.html.erb +4 -0
  115. data/app/views/spree/admin/shared/_settings_sub_menu.html.erb +3 -3
  116. data/app/views/spree/admin/shared/_tabs.html.erb +3 -2
  117. data/app/views/spree/admin/shared/_variant_search.html.erb +1 -1
  118. data/app/views/spree/admin/shipping_methods/_form.html.erb +10 -10
  119. data/app/views/spree/admin/stock_items/_stock_management.html.erb +56 -38
  120. data/app/views/spree/admin/stock_locations/_form.html.erb +133 -121
  121. data/app/views/spree/admin/stock_locations/edit.html.erb +4 -2
  122. data/app/views/spree/admin/store_credit_reasons/edit.html.erb +15 -0
  123. data/app/views/spree/admin/store_credit_reasons/index.html.erb +56 -0
  124. data/app/views/spree/admin/store_credit_reasons/new.html.erb +18 -0
  125. data/app/views/spree/admin/store_credit_reasons/shared/_form.html.erb +15 -0
  126. data/app/views/spree/admin/store_credits/_store_credit_reason_field.html.erb +7 -0
  127. data/app/views/spree/admin/store_credits/edit_amount.html.erb +1 -1
  128. data/app/views/spree/admin/store_credits/edit_validity.html.erb +2 -2
  129. data/app/views/spree/admin/store_credits/index.html.erb +1 -1
  130. data/app/views/spree/admin/store_credits/show.html.erb +3 -3
  131. data/app/views/spree/admin/stores/_form.html.erb +1 -0
  132. data/app/views/spree/admin/style_guide/topics/typography/_colors.html.erb +30 -20
  133. data/app/views/spree/admin/style_guide/topics/typography/_fonts.html.erb +1 -1
  134. data/app/views/spree/admin/taxonomies/edit.html.erb +1 -1
  135. data/app/views/spree/admin/taxons/_form.html.erb +1 -1
  136. data/app/views/spree/admin/taxons/edit.html.erb +2 -2
  137. data/app/views/spree/admin/users/edit.html.erb +2 -2
  138. data/app/views/spree/admin/users/index.html.erb +2 -2
  139. data/app/views/spree/admin/users/items.html.erb +3 -1
  140. data/app/views/spree/admin/users/orders.html.erb +1 -1
  141. data/app/views/spree/admin/variants/_form.html.erb +1 -1
  142. data/app/views/spree/admin/variants/index.html.erb +1 -1
  143. data/app/views/spree/admin/zones/_state_members.html.erb +1 -1
  144. data/config/routes.rb +2 -8
  145. data/lib/spree/backend.rb +1 -1
  146. data/solidus_backend.gemspec +3 -4
  147. data/spec/controllers/spree/admin/base_controller_spec.rb +1 -1
  148. data/spec/controllers/spree/admin/cancellations_controller_spec.rb +7 -3
  149. data/spec/controllers/spree/admin/locale_controller_spec.rb +45 -0
  150. data/spec/controllers/spree/admin/orders/customer_details_controller_spec.rb +50 -2
  151. data/spec/controllers/spree/admin/orders_controller_spec.rb +25 -13
  152. data/spec/controllers/spree/admin/payments_controller_spec.rb +1 -1
  153. data/spec/controllers/spree/admin/products_controller_spec.rb +72 -0
  154. data/spec/controllers/spree/admin/promotion_codes_controller_spec.rb +13 -1
  155. data/spec/controllers/spree/admin/reimbursements_controller_spec.rb +11 -0
  156. data/spec/controllers/spree/admin/resource_controller_spec.rb +22 -0
  157. data/spec/controllers/spree/admin/stock_items_controller_spec.rb +1 -1
  158. data/spec/controllers/spree/admin/stock_locations_controller_spec.rb +1 -1
  159. data/spec/controllers/spree/admin/store_credits_controller_spec.rb +7 -7
  160. data/spec/features/admin/configuration/payment_methods_spec.rb +2 -2
  161. data/spec/features/admin/configuration/shipping_methods_spec.rb +2 -2
  162. data/spec/features/admin/homepage_spec.rb +1 -6
  163. data/spec/features/admin/locale_spec.rb +1 -2
  164. data/spec/features/admin/orders/adjustments_spec.rb +1 -1
  165. data/spec/features/admin/orders/customer_details_spec.rb +5 -7
  166. data/spec/features/admin/orders/customer_returns_spec.rb +28 -0
  167. data/spec/features/admin/orders/listing_spec.rb +2 -7
  168. data/spec/features/admin/orders/log_entries_spec.rb +2 -2
  169. data/spec/features/admin/orders/new_order_spec.rb +117 -0
  170. data/spec/features/admin/orders/new_refund_spec.rb +35 -0
  171. data/spec/features/admin/orders/order_details_spec.rb +10 -5
  172. data/spec/features/admin/orders/payments_spec.rb +82 -41
  173. data/spec/features/admin/orders/return_payment_state_spec.rb +3 -0
  174. data/spec/features/admin/orders/shipments_spec.rb +28 -0
  175. data/spec/features/admin/products/edit/products_spec.rb +25 -0
  176. data/spec/features/admin/products/edit/taxons_spec.rb +4 -0
  177. data/spec/features/admin/products/pricing_spec.rb +24 -6
  178. data/spec/features/admin/products/products_spec.rb +5 -5
  179. data/spec/features/admin/products/stock_management_spec.rb +27 -13
  180. data/spec/features/admin/products/variant_spec.rb +1 -1
  181. data/spec/features/admin/promotion_adjustments_spec.rb +12 -12
  182. data/spec/features/admin/promotions/option_value_rule_spec.rb +2 -2
  183. data/spec/features/admin/promotions/product_rule_spec.rb +1 -1
  184. data/spec/features/admin/promotions/promotion_spec.rb +52 -0
  185. data/spec/features/admin/promotions/tiered_calculator_spec.rb +1 -1
  186. data/spec/features/admin/promotions/user_rule_spec.rb +2 -2
  187. data/spec/features/admin/reimbursements_spec.rb +1 -1
  188. data/spec/features/admin/store_credits_spec.rb +51 -2
  189. data/spec/features/admin/taxons_spec.rb +35 -0
  190. data/spec/features/admin/users_spec.rb +44 -11
  191. data/spec/helpers/admin/navigation_helper_spec.rb +4 -2
  192. data/spec/helpers/admin/store_credit_events_helper_spec.rb +2 -2
  193. data/spec/javascripts/spec_helper.js +2 -0
  194. data/spec/models/spree/backend_configuration/menu_item_spec.rb +17 -0
  195. data/spec/models/spree/backend_configuration_spec.rb +22 -0
  196. data/spec/spec_helper.rb +2 -2
  197. data/spec/support/appear_before_matcher.rb +1 -1
  198. data/spec/support/feature/order_feature_helper.rb +1 -1
  199. data/spec/views/spree/admin/shared/navigation_footer_spec.rb +1 -1
  200. data/vendor/assets/fonts/inter/Inter-Regular.woff +0 -0
  201. data/vendor/assets/fonts/inter/Inter-Regular.woff2 +0 -0
  202. data/vendor/assets/fonts/inter/Inter-SemiBold.woff +0 -0
  203. data/vendor/assets/fonts/inter/Inter-SemiBold.woff2 +0 -0
  204. data/vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_en-US.js +10 -0
  205. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss +4 -0
  206. metadata +38 -36
  207. data/.eslintrc +0 -21
  208. data/app/controllers/spree/admin/reports_controller.rb +0 -82
  209. data/app/views/spree/admin/reports/index.html.erb +0 -19
  210. data/app/views/spree/admin/reports/sales_total.html.erb +0 -35
  211. data/app/views/spree/admin/shared/_report_order_criteria.html.erb +0 -19
  212. data/app/views/spree/admin/store_credits/_update_reason_field.html.erb +0 -7
  213. data/spec/controllers/spree/admin/reports_controller_spec.rb +0 -133
  214. data/spec/features/admin/reports_spec.rb +0 -63
@@ -11,7 +11,7 @@ describe 'Promotions', type: :feature do
11
11
  expect(page).to have_css('table thead tr th', text: 'Product')
12
12
  expect(page).to have_css('table thead tr th', text: 'Preferred Reimbursement Type')
13
13
  expect(page).to have_css('table thead tr th', text: 'Reimbursement Type Override')
14
- expect(page).to have_css('table thead tr th', text: 'Exchange for')
14
+ expect(page).to have_css('table thead tr th', text: 'Exchange For')
15
15
  expect(page).to have_css('table thead tr th', text: 'Amount Before Sales Tax')
16
16
  expect(page).to have_css('table thead tr th', text: 'Total')
17
17
  end
@@ -56,9 +56,58 @@ describe "Store credits admin" do
56
56
  end
57
57
  end
58
58
 
59
+ describe "displaying a store credit details page" do
60
+ before do
61
+ visit spree.admin_path
62
+ click_link "Users"
63
+ click_link store_credit.user.email
64
+ click_link "Store Credit"
65
+ page.find(".sc-table td.actions a.fa-edit").click
66
+ end
67
+
68
+ it "shows the store credit's information" do
69
+ within ".content" do
70
+ expect(page).to have_content "Credited #{store_credit.display_amount}"
71
+ expect(page).to have_content "Created By #{store_credit.created_by.email}"
72
+ expect(page).to have_content "Type #{store_credit.category_name}"
73
+ expect(page).to have_content 'Store credit history'
74
+ end
75
+ end
76
+
77
+ it "lets edit store credit's memo", js: true do
78
+ allow_any_instance_of(Spree::Admin::StoreCreditsController)
79
+ .to receive(:try_spree_current_user)
80
+ .and_return(admin_user)
81
+
82
+ # When there are no errors
83
+ within '.store-credit-memo-row' do
84
+ click_button 'Edit'
85
+ fill_in 'store_credit_memo', with: 'Lottery Won'
86
+ click_button 'Save'
87
+ expect(page).to have_content "Memo Lottery Won", normalize_ws: true
88
+ end
89
+ expect(page).to have_content "Store Credit has been successfully updated!"
90
+
91
+ # When there are errors
92
+ allow_any_instance_of(Spree::StoreCredit).to receive(:save) { false }
93
+ allow_any_instance_of(Spree::StoreCredit)
94
+ .to receive_message_chain(:errors, :full_messages)
95
+ .and_return(["Memo is not valid"])
96
+
97
+ within '.store-credit-memo-row' do
98
+ find(:css, ".edit-memo").click
99
+ fill_in 'store_credit_memo', with: 'Lottery Won Twice'
100
+ find(:css, ".save-memo").click
101
+ expect(page).to have_content "Memo Lottery Won", normalize_ws: true
102
+ expect(page).not_to have_content "Lottery Won Twice"
103
+ end
104
+ expect(page).to have_content "Unable to update store credit [\"Memo is not valid\"]"
105
+ end
106
+ end
107
+
59
108
  describe "updating store credit" do
60
109
  let(:updated_amount) { "99.0" }
61
- let!(:update_reason) { create(:store_credit_update_reason) }
110
+ let!(:store_credit_reason) { create(:store_credit_reason) }
62
111
 
63
112
  before do
64
113
  visit spree.admin_path
@@ -74,7 +123,7 @@ describe "Store credits admin" do
74
123
  click_link "Change amount"
75
124
  expect(page).to have_content 'Editing store credit amount'
76
125
  page.fill_in 'store_credit_amount', with: updated_amount
77
- page.select update_reason.name, from: 'update_reason_id'
126
+ page.select store_credit_reason.name, from: 'store_credit_reason_id'
78
127
  click_button "Update"
79
128
  expect(page.find('#sc-detail-table')).to have_content "$99.00"
80
129
  expect(store_credit.reload.amount.to_f).to eq updated_amount.to_f
@@ -40,4 +40,39 @@ describe "Taxonomies and taxons", type: :feature do
40
40
 
41
41
  expect(page).to have_current_path %r{/admin/taxonomies/\d+/taxons/\d+/edit}
42
42
  end
43
+
44
+ context "inside sidebar menu" do
45
+ def only_one_selected_tab_inside?(sub_tab_selector, tab_name, tab_path)
46
+ within(sub_tab_selector) do
47
+ expect(page).to have_selector('.selected', count: 1)
48
+
49
+ within('.selected') { expect(page).to have_link(tab_name, href: tab_path) }
50
+ end
51
+ end
52
+
53
+ context "on display taxonomies page", js: true do
54
+ it "should be selected only one tab 'Taxonomies' in product sub tabs" do
55
+ visit spree.admin_taxonomies_path
56
+ only_one_selected_tab_inside?('[data-hook=admin_product_sub_tabs]', 'Taxonomies', spree.admin_taxonomies_path)
57
+ end
58
+ end
59
+
60
+ context "on edit taxonomy page", js: true do
61
+ it "should be selected only one tab 'Taxonomies' in product sub tabs" do
62
+ taxonomy = create :taxonomy
63
+
64
+ visit spree.edit_admin_taxonomy_path(taxonomy)
65
+ only_one_selected_tab_inside?('[data-hook=admin_product_sub_tabs]', 'Taxonomies', spree.admin_taxonomies_path)
66
+ end
67
+ end
68
+
69
+ context "on edit taxonomy's taxon page", js: true do
70
+ it "should be selected only one tab 'Taxonomies' in product sub tabs" do
71
+ taxonomy = create :taxonomy
72
+
73
+ visit spree.edit_admin_taxonomy_taxon_path(taxonomy, taxonomy.root.id)
74
+ only_one_selected_tab_inside?('[data-hook=admin_product_sub_tabs]', 'Taxonomies', spree.admin_taxonomies_path)
75
+ end
76
+ end
77
+ end
43
78
  end
@@ -16,6 +16,7 @@ describe 'Users', type: :feature do
16
16
  create(:completed_order_with_totals, user: user_a, number: "R456").tap do |o|
17
17
  li = o.line_items.last
18
18
  li.update_column(:price, li.price + 10)
19
+ o.recalculate
19
20
  end
20
21
  end
21
22
 
@@ -37,7 +38,7 @@ describe 'Users', type: :feature do
37
38
  end
38
39
 
39
40
  it 'can go back to the users list' do
40
- expect(page).to have_link Spree::LegacyUser.model_name.human(count: :other), href: spree.admin_users_path
41
+ expect(page).to have_link Spree::LegacyUser.model_name.human(count: Spree::I18N_GENERIC_PLURAL), href: spree.admin_users_path
41
42
  end
42
43
 
43
44
  it 'can navigate to the account page' do
@@ -58,6 +59,7 @@ describe 'Users', type: :feature do
58
59
 
59
60
  it "can sort asc" do
60
61
  within_table(table_id) do
62
+ expect(page).to have_selector '.sort_link.asc'
61
63
  expect(page).to have_text text_match_1
62
64
  expect(page).to have_text text_match_2
63
65
  expect(text_match_1).to appear_before text_match_2
@@ -68,7 +70,10 @@ describe 'Users', type: :feature do
68
70
  within_table(table_id) do
69
71
  # Ransack adds a ▲ to the sort link. With exact match Capybara is not able to find that link
70
72
  click_link sort_link, exact: false
73
+ end
71
74
 
75
+ within_table(table_id) do
76
+ expect(page).to have_selector '.sort_link.desc'
72
77
  expect(page).to have_text text_match_1
73
78
  expect(page).to have_text text_match_2
74
79
  expect(text_match_2).to appear_before text_match_1
@@ -284,6 +289,24 @@ describe 'Users', type: :feature do
284
289
  end
285
290
  end
286
291
 
292
+ context 'deleting users' do
293
+ let!(:an_user) { create(:user_with_addresses, email: 'an_user@example.com') }
294
+ let!(:order) { create(:completed_order_with_totals, user_id: an_user.id) }
295
+
296
+ context 'if an user has placed orders' do
297
+ before do
298
+ visit spree.admin_path
299
+ click_link 'Users'
300
+ end
301
+
302
+ it "can't be deleted" do
303
+ within "#spree_user_#{an_user.id}" do
304
+ expect(page).not_to have_selector('.fa-trash')
305
+ end
306
+ end
307
+ end
308
+ end
309
+
287
310
  context 'order history with sorting' do
288
311
  before do
289
312
  orders
@@ -302,14 +325,24 @@ describe 'Users', type: :feature do
302
325
  end
303
326
  end
304
327
 
305
- [:number, :total].each do |attr|
306
- context attr do
307
- it_behaves_like "a sortable attribute" do
308
- let(:text_match_1) { order.send(attr).to_s }
309
- let(:text_match_2) { order_2.send(attr).to_s }
310
- let(:table_id) { "listing_orders" }
311
- let(:sort_link) { "orders_#{attr}_title" }
312
- end
328
+ context :number do
329
+ it_behaves_like "a sortable attribute" do
330
+ let(:text_match_1) { order.number }
331
+ let(:text_match_2) { order_2.number }
332
+ let(:table_id) { "listing_orders" }
333
+ let(:sort_link) { "orders_number_title" }
334
+ end
335
+ end
336
+
337
+ context :total do
338
+ it_behaves_like "a sortable attribute" do
339
+ # Since Spree::Money renders each piece of the total in it's own span,
340
+ # we are just checking the dollar total matches. Mainly due to how
341
+ # RSpec matcher appear_before works since it can't index the broken up total.
342
+ let(:text_match_1) { order.total.to_i.to_s }
343
+ let(:text_match_2) { order_2.total.to_i.to_s }
344
+ let(:table_id) { "listing_orders" }
345
+ let(:sort_link) { "orders_total_title" }
313
346
  end
314
347
  end
315
348
 
@@ -359,9 +392,9 @@ describe 'Users', type: :feature do
359
392
  within_table('listing_items') do
360
393
  items.each do |item|
361
394
  expect(page).to have_selector(".item-name", text: item.product.name)
362
- expect(page).to have_selector(".item-price", text: item.single_money.to_html)
395
+ expect(page).to have_selector(".item-price", text: item.single_money.to_html(html_wrap: false))
363
396
  expect(page).to have_selector(".item-quantity", text: item.quantity)
364
- expect(page).to have_selector(".item-total", text: item.money.to_html)
397
+ expect(page).to have_selector(".item-total", text: item.money.to_html(html_wrap: false))
365
398
  end
366
399
  end
367
400
  end
@@ -83,8 +83,10 @@ describe Spree::Admin::NavigationHelper, type: :helper do
83
83
  # object_url is provided by the ResourceController abstract controller.
84
84
  # as we cannot set a custom controller for helper tests, we need to fake it
85
85
  before do
86
- allow(helper).to receive(:object_url) do |o|
87
- "/stock_items/#{o.to_param}"
86
+ without_partial_double_verification do
87
+ allow(helper).to receive(:object_url) do |o|
88
+ "/stock_items/#{o.to_param}"
89
+ end
88
90
  end
89
91
  end
90
92
 
@@ -87,10 +87,10 @@ describe Spree::Admin::StoreCreditEventsHelper, type: :helper do
87
87
  end
88
88
 
89
89
  context "originator is not specifically handled" do
90
- let(:originator) { create(:store_credit_update_reason) }
90
+ let(:originator) { create(:store_credit) }
91
91
 
92
92
  it "raises an error" do
93
- expect { subject }.to raise_error(RuntimeError, "Unexpected originator type Spree::StoreCreditUpdateReason")
93
+ expect { subject }.to raise_error(RuntimeError, "Unexpected originator type Spree::StoreCredit")
94
94
  end
95
95
  end
96
96
  end
@@ -4,6 +4,8 @@
4
4
  //= require support/chai-jq-0.0.7
5
5
 
6
6
  //= require_self
7
+ //= require jquery
8
+ //= require rails-ujs
7
9
  //= require spree/backend
8
10
  //= require_tree ./support
9
11
 
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ RSpec.describe Spree::BackendConfiguration::MenuItem do
6
+ describe '#match_path' do
7
+ subject do
8
+ described_class.new([], nil, {
9
+ match_path: '/stock_items'
10
+ }).match_path
11
+ end
12
+
13
+ it 'can be read' do
14
+ is_expected.to eq('/stock_items')
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ RSpec.describe Spree::BackendConfiguration do
6
+ describe '#menu_items' do
7
+ subject do
8
+ described_class.new.menu_items
9
+ end
10
+
11
+ describe 'menu tab for stock items' do
12
+ let(:stock_menu_item) do
13
+ subject.detect { |item| item.label == :stock }
14
+ end
15
+
16
+ # Regression for https://github.com/solidusio/solidus/issues/2950
17
+ it 'has match_path set to /stock_items' do
18
+ expect(stock_menu_item.match_path).to eq('/stock_items')
19
+ end
20
+ end
21
+ end
22
+ end
data/spec/spec_helper.rb CHANGED
@@ -27,6 +27,7 @@ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
27
27
  require 'database_cleaner'
28
28
  require 'with_model'
29
29
 
30
+ require 'spree/testing_support/partial_double_verification'
30
31
  require 'spree/testing_support/authorization_helpers'
31
32
  require 'spree/testing_support/factories'
32
33
  require 'spree/testing_support/preferences'
@@ -46,7 +47,7 @@ Capybara.register_driver :selenium_chrome_headless do |app|
46
47
  browser_options = ::Selenium::WebDriver::Chrome::Options.new
47
48
  browser_options.args << '--headless'
48
49
  browser_options.args << '--disable-gpu'
49
- browser_options.args << '--window-size=1440,1080'
50
+ browser_options.args << '--window-size=1920,1080'
50
51
  Capybara::Selenium::Driver.new(app, browser: :chrome, options: browser_options)
51
52
  end
52
53
 
@@ -88,7 +89,6 @@ RSpec.configure do |config|
88
89
 
89
90
  config.before do
90
91
  Rails.cache.clear
91
- reset_spree_preferences
92
92
  if RSpec.current_example.metadata[:js] && page.driver.browser.respond_to?(:url_blacklist)
93
93
  page.driver.browser.url_blacklist = ['http://fonts.googleapis.com']
94
94
  end
@@ -5,6 +5,6 @@ require 'rspec/expectations'
5
5
  RSpec::Matchers.define :appear_before do |expected|
6
6
  match do |actual|
7
7
  raise "Page instance required to use the appear_before matcher" unless page
8
- page.body.index(actual) <= page.body.index(expected)
8
+ has_text? /#{actual}.*#{expected}/
9
9
  end
10
10
  end
@@ -16,7 +16,7 @@ module OrderFeatureHelper
16
16
  destination = destination.name
17
17
  end
18
18
 
19
- select2_no_label(destination, from: 'Choose location')
19
+ select2_no_label(destination, from: 'Choose Location')
20
20
 
21
21
  if quantity
22
22
  fill_in 'item_quantity', with: quantity
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'spec_helper'
4
4
 
5
- describe "spree/admin/shared/_navigation_footer", type: :view do
5
+ describe "spree/admin/shared/_navigation_footer", type: :view, partial_double_verification: false do
6
6
  let(:user) { FactoryBot.build_stubbed(:admin_user) }
7
7
  let(:ability) { Object.new.extend(CanCan::Ability) }
8
8
  before do
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Select2 English US translations
3
+ */
4
+ (function ($) {
5
+ "use strict";
6
+
7
+ $.fn.select2.locales['en-US'] = {};
8
+
9
+ $.extend($.fn.select2.defaults, $.fn.select2.locales['en-US']);
10
+ })(jQuery);
@@ -51,6 +51,10 @@
51
51
  color: $pagination-active-color;
52
52
  background-color: $pagination-active-bg;
53
53
  border-color: $pagination-active-border-color;
54
+
55
+ &:hover {
56
+ color: $pagination-active-color;
57
+ }
54
58
  }
55
59
 
56
60
  &.disabled .page-link {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.4
4
+ version: 2.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-23 00:00:00.000000000 Z
11
+ date: 2019-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.7.4
19
+ version: 2.9.2
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: 2.7.4
26
+ version: 2.9.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: solidus_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.7.4
33
+ version: 2.9.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.7.4
40
+ version: 2.9.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: coffee-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '2.6'
75
+ version: '2.8'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '2.6'
82
+ version: '2.8'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: jquery-rails
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -109,7 +109,7 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '1.1'
111
111
  - !ruby/object:Gem::Dependency
112
- name: sass-rails
112
+ name: sassc-rails
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
@@ -123,33 +123,19 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: sass
126
+ name: autoprefixer-rails
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - ">="
130
130
  - !ruby/object:Gem::Version
131
- version: 3.5.2
131
+ version: '0'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: 3.5.2
139
- - !ruby/object:Gem::Dependency
140
- name: autoprefixer-rails
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: '7.1'
146
- type: :runtime
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: '7.1'
138
+ version: '0'
153
139
  - !ruby/object:Gem::Dependency
154
140
  name: handlebars_assets
155
141
  requirement: !ruby/object:Gem::Requirement
@@ -170,10 +156,10 @@ executables: []
170
156
  extensions: []
171
157
  extra_rdoc_files: []
172
158
  files:
173
- - ".eslintrc"
174
159
  - README.md
175
160
  - Rakefile
176
161
  - app/assets/config/solidus_backend_manifest.js
162
+ - app/assets/images/favicon.ico
177
163
  - app/assets/images/solidus-style-guide-logo.png
178
164
  - app/assets/javascripts/spree/backend.js
179
165
  - app/assets/javascripts/spree/backend/addresses.js
@@ -286,6 +272,7 @@ files:
286
272
  - app/assets/stylesheets/spree/backend/_bootstrap_custom.scss
287
273
  - app/assets/stylesheets/spree/backend/components/_actions.scss
288
274
  - app/assets/stylesheets/spree/backend/components/_breadcrumb.scss
275
+ - app/assets/stylesheets/spree/backend/components/_buttons.scss
289
276
  - app/assets/stylesheets/spree/backend/components/_editable_table.scss
290
277
  - app/assets/stylesheets/spree/backend/components/_hint.scss
291
278
  - app/assets/stylesheets/spree/backend/components/_image_placeholder.scss
@@ -300,6 +287,7 @@ files:
300
287
  - app/assets/stylesheets/spree/backend/components/_stock_table.scss
301
288
  - app/assets/stylesheets/spree/backend/components/_table-filter.scss
302
289
  - app/assets/stylesheets/spree/backend/components/_tabs.scss
290
+ - app/assets/stylesheets/spree/backend/globals/_deprecated_variables.scss
303
291
  - app/assets/stylesheets/spree/backend/globals/_deprecation.scss
304
292
  - app/assets/stylesheets/spree/backend/globals/_functions.scss
305
293
  - app/assets/stylesheets/spree/backend/globals/_mixins.css
@@ -325,6 +313,7 @@ files:
325
313
  - app/assets/stylesheets/spree/backend/sections/_taxons.scss
326
314
  - app/assets/stylesheets/spree/backend/sections/_users.scss
327
315
  - app/assets/stylesheets/spree/backend/sections/_variants.scss
316
+ - app/assets/stylesheets/spree/backend/shared/_fonts.scss
328
317
  - app/assets/stylesheets/spree/backend/shared/_forms.scss
329
318
  - app/assets/stylesheets/spree/backend/shared/_header.scss
330
319
  - app/assets/stylesheets/spree/backend/shared/_icons.scss
@@ -365,7 +354,6 @@ files:
365
354
  - app/controllers/spree/admin/refunds_controller.rb
366
355
  - app/controllers/spree/admin/reimbursement_types_controller.rb
367
356
  - app/controllers/spree/admin/reimbursements_controller.rb
368
- - app/controllers/spree/admin/reports_controller.rb
369
357
  - app/controllers/spree/admin/resource_controller.rb
370
358
  - app/controllers/spree/admin/return_authorizations_controller.rb
371
359
  - app/controllers/spree/admin/return_items_controller.rb
@@ -377,6 +365,7 @@ files:
377
365
  - app/controllers/spree/admin/stock_items_controller.rb
378
366
  - app/controllers/spree/admin/stock_locations_controller.rb
379
367
  - app/controllers/spree/admin/stock_movements_controller.rb
368
+ - app/controllers/spree/admin/store_credit_reasons_controller.rb
380
369
  - app/controllers/spree/admin/store_credits_controller.rb
381
370
  - app/controllers/spree/admin/stores_controller.rb
382
371
  - app/controllers/spree/admin/style_guide_controller.rb
@@ -396,6 +385,7 @@ files:
396
385
  - app/helpers/spree/admin/orders_helper.rb
397
386
  - app/helpers/spree/admin/payments_helper.rb
398
387
  - app/helpers/spree/admin/products_helper.rb
388
+ - app/helpers/spree/admin/promotions_helper.rb
399
389
  - app/helpers/spree/admin/reimbursement_type_helper.rb
400
390
  - app/helpers/spree/admin/stock_locations_helper.rb
401
391
  - app/helpers/spree/admin/stock_movements_helper.rb
@@ -472,16 +462,17 @@ files:
472
462
  - app/views/spree/admin/payments/_capture_events.html.erb
473
463
  - app/views/spree/admin/payments/_form.html.erb
474
464
  - app/views/spree/admin/payments/_list.html.erb
465
+ - app/views/spree/admin/payments/_log_entries.html.erb
475
466
  - app/views/spree/admin/payments/credit.html.erb
476
467
  - app/views/spree/admin/payments/index.html.erb
477
468
  - app/views/spree/admin/payments/new.html.erb
478
469
  - app/views/spree/admin/payments/show.html.erb
479
470
  - app/views/spree/admin/payments/source_forms/_check.html.erb
480
471
  - app/views/spree/admin/payments/source_forms/_gateway.html.erb
481
- - app/views/spree/admin/payments/source_forms/_storecredit.html.erb
472
+ - app/views/spree/admin/payments/source_forms/_store_credit.html.erb
482
473
  - app/views/spree/admin/payments/source_views/_check.html.erb
483
474
  - app/views/spree/admin/payments/source_views/_gateway.html.erb
484
- - app/views/spree/admin/payments/source_views/_storecredit.html.erb
475
+ - app/views/spree/admin/payments/source_views/_store_credit.html.erb
485
476
  - app/views/spree/admin/prices/_form.html.erb
486
477
  - app/views/spree/admin/prices/_master_variant_table.html.erb
487
478
  - app/views/spree/admin/prices/_table.html.erb
@@ -505,6 +496,7 @@ files:
505
496
  - app/views/spree/admin/promotion_code_batches/new.html.erb
506
497
  - app/views/spree/admin/promotion_codes/index.csv.ruby
507
498
  - app/views/spree/admin/promotion_codes/index.html.erb
499
+ - app/views/spree/admin/promotion_codes/new.html.erb
508
500
  - app/views/spree/admin/promotion_rules/create.js.erb
509
501
  - app/views/spree/admin/promotion_rules/destroy.js.erb
510
502
  - app/views/spree/admin/promotions/_actions.html.erb
@@ -555,8 +547,6 @@ files:
555
547
  - app/views/spree/admin/reimbursements/edit.html.erb
556
548
  - app/views/spree/admin/reimbursements/index.html.erb
557
549
  - app/views/spree/admin/reimbursements/show.html.erb
558
- - app/views/spree/admin/reports/index.html.erb
559
- - app/views/spree/admin/reports/sales_total.html.erb
560
550
  - app/views/spree/admin/return_authorizations/_form.html.erb
561
551
  - app/views/spree/admin/return_authorizations/edit.html.erb
562
552
  - app/views/spree/admin/return_authorizations/index.html.erb
@@ -597,7 +587,6 @@ files:
597
587
  - app/views/spree/admin/shared/_promotion_sub_menu.html.erb
598
588
  - app/views/spree/admin/shared/_rebuild_vat_prices_checkbox.html.erb
599
589
  - app/views/spree/admin/shared/_refunds.html.erb
600
- - app/views/spree/admin/shared/_report_order_criteria.html.erb
601
590
  - app/views/spree/admin/shared/_settings_checkout_tabs.html.erb
602
591
  - app/views/spree/admin/shared/_settings_sub_menu.html.erb
603
592
  - app/views/spree/admin/shared/_shipping_tabs.html.erb
@@ -633,8 +622,12 @@ files:
633
622
  - app/views/spree/admin/stock_locations/index.html.erb
634
623
  - app/views/spree/admin/stock_locations/new.html.erb
635
624
  - app/views/spree/admin/stock_movements/index.html.erb
625
+ - app/views/spree/admin/store_credit_reasons/edit.html.erb
626
+ - app/views/spree/admin/store_credit_reasons/index.html.erb
627
+ - app/views/spree/admin/store_credit_reasons/new.html.erb
628
+ - app/views/spree/admin/store_credit_reasons/shared/_form.html.erb
636
629
  - app/views/spree/admin/store_credits/_form.html.erb
637
- - app/views/spree/admin/store_credits/_update_reason_field.html.erb
630
+ - app/views/spree/admin/store_credits/_store_credit_reason_field.html.erb
638
631
  - app/views/spree/admin/store_credits/edit_amount.html.erb
639
632
  - app/views/spree/admin/store_credits/edit_validity.html.erb
640
633
  - app/views/spree/admin/store_credits/index.html.erb
@@ -726,6 +719,7 @@ files:
726
719
  - spec/controllers/spree/admin/base_controller_spec.rb
727
720
  - spec/controllers/spree/admin/cancellations_controller_spec.rb
728
721
  - spec/controllers/spree/admin/customer_returns_controller_spec.rb
722
+ - spec/controllers/spree/admin/locale_controller_spec.rb
729
723
  - spec/controllers/spree/admin/missing_products_controller_spec.rb
730
724
  - spec/controllers/spree/admin/orders/customer_details_controller_spec.rb
731
725
  - spec/controllers/spree/admin/orders_controller_spec.rb
@@ -740,7 +734,6 @@ files:
740
734
  - spec/controllers/spree/admin/promotions_controller_spec.rb
741
735
  - spec/controllers/spree/admin/refunds_controller_spec.rb
742
736
  - spec/controllers/spree/admin/reimbursements_controller_spec.rb
743
- - spec/controllers/spree/admin/reports_controller_spec.rb
744
737
  - spec/controllers/spree/admin/resource_controller_spec.rb
745
738
  - spec/controllers/spree/admin/return_authorizations_controller_spec.rb
746
739
  - spec/controllers/spree/admin/return_items_controller_spec.rb
@@ -768,10 +761,12 @@ files:
768
761
  - spec/features/admin/orders/cancelling_and_resuming_spec.rb
769
762
  - spec/features/admin/orders/cancelling_inventory_spec.rb
770
763
  - spec/features/admin/orders/customer_details_spec.rb
764
+ - spec/features/admin/orders/customer_returns_spec.rb
771
765
  - spec/features/admin/orders/line_items_spec.rb
772
766
  - spec/features/admin/orders/listing_spec.rb
773
767
  - spec/features/admin/orders/log_entries_spec.rb
774
768
  - spec/features/admin/orders/new_order_spec.rb
769
+ - spec/features/admin/orders/new_refund_spec.rb
775
770
  - spec/features/admin/orders/order_details_spec.rb
776
771
  - spec/features/admin/orders/payments_spec.rb
777
772
  - spec/features/admin/orders/return_authorizations_spec.rb
@@ -793,10 +788,10 @@ files:
793
788
  - spec/features/admin/promotions/option_value_rule_spec.rb
794
789
  - spec/features/admin/promotions/product_rule_spec.rb
795
790
  - spec/features/admin/promotions/promotion_categories_spec.rb
791
+ - spec/features/admin/promotions/promotion_spec.rb
796
792
  - spec/features/admin/promotions/tiered_calculator_spec.rb
797
793
  - spec/features/admin/promotions/user_rule_spec.rb
798
794
  - spec/features/admin/reimbursements_spec.rb
799
- - spec/features/admin/reports_spec.rb
800
795
  - spec/features/admin/store_credits_spec.rb
801
796
  - spec/features/admin/stores_spec.rb
802
797
  - spec/features/admin/style_guide_spec.rb
@@ -816,6 +811,8 @@ files:
816
811
  - spec/javascripts/support/with_translations.js
817
812
  - spec/javascripts/translation_spec.js
818
813
  - spec/javascripts/views/number_with_currency_spec.js
814
+ - spec/models/spree/backend_configuration/menu_item_spec.rb
815
+ - spec/models/spree/backend_configuration_spec.rb
819
816
  - spec/spec_helper.rb
820
817
  - spec/support/appear_before_matcher.rb
821
818
  - spec/support/feature/base_feature_helper.rb
@@ -825,6 +822,10 @@ files:
825
822
  - spec/test_views/spree/admin/widgets/edit.html.erb
826
823
  - spec/test_views/spree/admin/widgets/new.html.erb
827
824
  - spec/views/spree/admin/shared/navigation_footer_spec.rb
825
+ - vendor/assets/fonts/inter/Inter-Regular.woff
826
+ - vendor/assets/fonts/inter/Inter-Regular.woff2
827
+ - vendor/assets/fonts/inter/Inter-SemiBold.woff
828
+ - vendor/assets/fonts/inter/Inter-SemiBold.woff2
828
829
  - vendor/assets/images/solidus_admin/select2-spinner.gif
829
830
  - vendor/assets/images/solidus_admin/select2.png
830
831
  - vendor/assets/images/solidus_admin/select2x2.png
@@ -848,6 +849,7 @@ files:
848
849
  - vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_da.js
849
850
  - vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_de.js
850
851
  - vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_el.js
852
+ - vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_en-US.js
851
853
  - vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_es-MX.js
852
854
  - vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_es.js
853
855
  - vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_et.js