Pau Perez
85446c0dde
Rearrange and cover balance in subs mailer specs
...
This moves them to a more unit-like style where the mailer methods are
the subjects. However, I did so only for the methods that show order
balance and thus we want to be extra sure of their coverage.
2021-03-18 09:18:16 +01:00
Maikel
33f7fa7e32
Merge pull request #7111 from coopdevs/fix-static-assets-deprecation
...
Replace assets config with public_file_server
2021-03-18 13:44:30 +11:00
Maikel
e53c996efd
Merge pull request #7082 from openfoodfoundation/dependabot/bundler/i18n-1.8.9
...
Bump i18n from 1.8.5 to 1.8.9
2021-03-18 13:23:08 +11:00
Matt-Yorkley
751b9349e8
Merge pull request #7015 from andrewpbrett/shopfront-producers
...
Only show primary producers on shopfront list of producers (fix #4218 )
2021-03-17 23:30:42 +01:00
Matt-Yorkley
8503e3c5f3
Merge pull request #7023 from Matt-Yorkley/ineligible-efficiency
...
Reduce unnecessary updates in Payment#revoke_adjustment_eligibility
2021-03-17 18:55:01 +01:00
Andy Brett
b8629e847c
Merge pull request #7014 from andrewpbrett/canceled-order-payments
...
Add resumed to list of allowable order states to view the payment tab
2021-03-17 10:46:51 -07:00
Andy Brett
9d33b36799
Merge pull request #7024 from Matt-Yorkley/dead-code-auto-capture
...
DCOTW: Spree::Config[:auto_capture]
2021-03-17 09:31:00 -07:00
Andy Brett
cd988733c3
Merge pull request #7145 from coopdevs/temp-skip-flaky-spec
...
Temporarily skip embedded shopfront flaky spec
2021-03-17 08:33:53 -07:00
Pau Pérez Fabregat
571f1b9f87
Merge pull request #7122 from openfoodfoundation/transifex
...
Transifex
2021-03-17 16:08:49 +01:00
Pau Perez
cf730f8b0c
Temporarily skip embedded shopfront flaky spec
...
Closes #7129 as discussed on that issue.
2021-03-17 16:06:48 +01:00
Andy Brett
9aa992b700
Merge pull request #7067 from openfoodfoundation/dependabot/bundler/rspec-rails-4.1.2
...
Bump rspec-rails from 4.0.2 to 4.1.2
2021-03-17 07:46:59 -07:00
Pau Perez
8c57ccdaf9
Replace assets test config with public_file_server
...
This fixes the following deprecation warnings
```
DEPRECATION WARNING: `config.serve_static_files` is deprecated and will be removed in Rails 5.1.
Please use `config.public_file_server.enabled = true` instead.
(called from block in <top (required)> at /home/runner/work/openfoodnetwork/openfoodnetwork/config/environments/test.rb:13)
DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
Please use
`config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }`
instead.
(called from block in <top (required)> at /home/runner/work/openfoodnetwork/openfoodnetwork/config/environments/test.rb:14)
```
2021-03-17 15:43:31 +01:00
Andy Brett
1311ff2959
Merge pull request #7136 from coopdevs/better-test-order-mailer
...
Rearrange and extend some OrderMailer unit-tests
2021-03-17 07:33:27 -07:00
Matt-Yorkley
3a5f763bf2
Merge pull request #7107 from filipefurtad0/line_items_controller.spec
...
covers payment_state changes from item deletion
2021-03-17 12:50:52 +01:00
Transifex-Openfoodnetwork
736a628082
Updating translations for config/locales/en_IE.yml
2021-03-17 22:31:32 +11:00
Pau Perez
f56678bcd9
Rearrange and extend some OrderMailer unit-tests
...
This moves them to a more unit-like style where the mailer methods are
the subjects. However, I did so only for the methods that show order
balance and thus we want to be extra sure of their coverage.
2021-03-17 12:09:06 +01:00
Pau Pérez Fabregat
51f63060a4
Merge pull request #6879 from coopdevs/customer-balance-bulk-coop-report
...
Customer balance bulk coop report
2021-03-17 12:08:44 +01:00
Pau Pérez Fabregat
0a1a1c3567
Merge pull request #7137 from andrewpbrett/ci-timezones
...
Fix failing timezone-related specs
2021-03-17 12:03:39 +01:00
Maikel
3a0c9814b8
Merge pull request #7037 from openfoodfoundation/dependabot/bundler/awesome_print-1.9.2
...
Bump awesome_print from 1.8.0 to 1.9.2
2021-03-17 17:26:22 +11:00
dependabot[bot]
4adaa6d28d
Bump rspec-rails from 4.0.2 to 4.1.2
...
Bumps [rspec-rails](https://github.com/rspec/rspec-rails ) from 4.0.2 to 4.1.2.
- [Release notes](https://github.com/rspec/rspec-rails/releases )
- [Changelog](https://github.com/rspec/rspec-rails/blob/main/Changelog.md )
- [Commits](https://github.com/rspec/rspec-rails/compare/v4.0.2...v4.1.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-16 22:33:54 +00:00
dependabot[bot]
7f594026cd
Bump awesome_print from 1.8.0 to 1.9.2
...
Bumps [awesome_print](https://github.com/awesome-print/awesome_print ) from 1.8.0 to 1.9.2.
- [Release notes](https://github.com/awesome-print/awesome_print/releases )
- [Changelog](https://github.com/awesome-print/awesome_print/blob/master/CHANGELOG.md )
- [Commits](https://github.com/awesome-print/awesome_print/compare/v1.8.0...v1.9.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-16 22:32:03 +00:00
filipefurtad0
2e870ed7bc
replace update! w/ reload; remove assertion
2021-03-16 22:02:26 +00:00
filipefurtad0
87e4b5e49d
covers payment_state changes from item deletion
2021-03-16 22:02:26 +00:00
dependabot[bot]
6ebcff9a4a
Bump i18n from 1.8.5 to 1.8.9
...
Bumps [i18n](https://github.com/ruby-i18n/i18n ) from 1.8.5 to 1.8.9.
- [Release notes](https://github.com/ruby-i18n/i18n/releases )
- [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ruby-i18n/i18n/compare/v1.8.5...v1.8.9 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-16 19:32:53 +00:00
Andy Brett
06deab9605
Merge pull request #7084 from openfoodfoundation/dependabot/bundler/acts-as-taggable-on-7.0.0
...
Bump acts-as-taggable-on from 4.0.0 to 7.0.0
2021-03-16 12:31:58 -07:00
Matt-Yorkley
d64fd195c0
Merge pull request #7104 from openfoodfoundation/dependabot/bundler/compass-rails-4.0.0
...
Bump compass-rails from 2.0.1 to 4.0.0
2021-03-16 20:31:49 +01:00
Andy Brett
046a2077f2
check the time, not the printed zone, in the spec
2021-03-16 12:14:27 -07:00
Andy Brett
f9f1bf8331
specify UTC explicitly
2021-03-16 12:00:20 -07:00
Andy Brett
134e017122
Merge pull request #7085 from openfoodfoundation/dependabot/bundler/responders-3.0.1
...
Bump responders from 2.4.1 to 3.0.1
2021-03-16 11:24:28 -07:00
dependabot[bot]
b1b71483de
Bump responders from 2.4.1 to 3.0.1
...
Bumps [responders](https://github.com/heartcombo/responders ) from 2.4.1 to 3.0.1.
- [Release notes](https://github.com/heartcombo/responders/releases )
- [Changelog](https://github.com/heartcombo/responders/blob/master/CHANGELOG.md )
- [Commits](https://github.com/heartcombo/responders/compare/v2.4.1...v3.0.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-16 17:57:43 +00:00
Andy Brett
0d364c6b69
Merge pull request #7110 from Matt-Yorkley/payment-capture-error
...
Fix payment capture handling in Api::OrdersController
2021-03-16 10:41:43 -07:00
Matt-Yorkley
2ba6a3cc23
Merge pull request #7133 from coopdevs/fix-env-deprecation
...
Fix `env` deprecated in Rails 5.0
2021-03-16 18:29:40 +01:00
Andy Brett
3ff9a0f2a3
Merge pull request #7135 from Matt-Yorkley/paypal-spec-setup
...
Update order totals in paypal test setup
2021-03-16 10:22:48 -07:00
Andy Brett
76940a6a2e
Merge pull request #7134 from coopdevs/feature-test-payments-report
...
Feature-test payments report
2021-03-16 10:18:36 -07:00
Matt-Yorkley
c91f02a94a
Update order totals in paypal test setup
2021-03-16 16:52:30 +00:00
Andy Brett
e8a256ecc5
Merge pull request #7132 from Matt-Yorkley/reload-deprecations
...
Replace deprecated use of :reload argument
2021-03-16 09:31:24 -07:00
Pau Perez
16647006c6
Feature-test payments report
...
This report displays order balances and we'll need this basic
feature-test coverage to ensure it keeps working once we refactor them.
2021-03-16 17:05:31 +01:00
Andy Brett
b0f2688001
Merge pull request #7128 from jibees/7127-terms-&-conditions-test-fails
...
Use timezone as hour and minute offset from UTC in terms_and_conditions_spec.rb
2021-03-16 08:34:18 -07:00
Pau Perez
57101aa5b6
Fix env deprecated in Rails 5.0
...
I found it at the very bottom of the `test-consumer-features` CI build
job. See: https://github.com/rails/rails/issues/23294 .
2021-03-16 15:12:44 +01:00
Matt-Yorkley
e78fb784c6
Merge pull request #7042 from coopdevs/fix-money-object-deprecation-warnings
...
Fix money object deprecation warnings
2021-03-16 14:30:51 +01:00
Matt-Yorkley
5e8d231c49
Merge pull request #7113 from coopdevs/fix-reload-deprecation-on-user-112
...
Fix deprecation warning related to #reload
2021-03-16 14:25:18 +01:00
Matt-Yorkley
80a654cef1
Merge pull request #6938 from Matt-Yorkley/paypal-adjustments-coverage
...
[Adjustments] Paypal adjustments test coverage
2021-03-16 13:16:07 +01:00
Matt-Yorkley
2d9d293405
Replace deprecated use of :reload argument
2021-03-16 12:04:35 +00:00
Jean-Baptiste Bellet
57a65da674
Use timezone as hour and minute offset from UTC
...
- e.g. +0900 (and not e.g. +09:00)
2021-03-16 09:52:45 +01:00
Pau Perez
6fae80bb04
Fix deprecation warning related to #reload
...
This fixes:
```
DEPRECATION WARNING: Passing an argument to force an association to
reload is now deprecated and will be removed in Rails 5.1. Please call
`reload` on the result collection proxy instead. (called from
can_own_more_enterprises? at /usr/src/app/app/models/spree/user.rb:112)
```
This method in particular gets called a lot of times so it'll have it's
cost in performance.
2021-03-16 08:01:25 +01:00
Andy Brett
fbc0d8f352
Merge pull request #7125 from coopdevs/show-build-status-in-prs
...
Run Github CI build on pull_request event
2021-03-15 15:30:26 -07:00
Andy Brett
ae4e8386c4
Merge pull request #7019 from openfoodfoundation/dependabot/bundler/monetize-1.11.0
...
Bump monetize from 1.10.0 to 1.11.0
2021-03-15 15:13:27 -07:00
Andy Brett
ffe9d4737c
Merge pull request #7114 from coopdevs/extract-spec-file
...
Move invoice-related specs to their own file
2021-03-15 15:11:14 -07:00
Pau Pérez Fabregat
8a359ba1e4
Merge pull request #7086 from Matt-Yorkley/adjustments-index
...
[Adjustments] Add index on spree_adjustments.order_id
v3.6-beta
2021-03-15 21:52:40 +01:00
Pau Perez
e952664a14
Run build on pull_request event
...
As is, we're seeing builds almost only on merge commits and not on
others. Also, the build status is not displayed at the bottom of the
PR.
Once we see this fixed and have a better understanding, we can decide
whether or not we remove the `push` event. I guess both we'll be needed.
2021-03-15 20:06:15 +01:00