Maikel Linke
56d8d1eaf7
Scope helper methods to relevant test cases
...
Global methods are usually not a good idea.
2022-08-15 17:34:21 +01:00
Maikel Linke
d86aeaa22a
Remove unnecessary after-spec code
2022-08-15 16:51:53 +10:00
filipefurtad0
97f18d7b86
Changes names from helpers to prevent leak between specs
2022-08-15 16:13:37 +10:00
filipefurtad0
bded15a869
Updates spec for inclusive; adds pending related to epic 7540
2022-08-15 16:13:37 +10:00
filipefurtad0
fff5927cdf
Changes pick-up into delivery shipping method
...
On line 62 we set the dependency on the shipping address to calculate taxes. Therefore, we might be better off mocking a delivery-shipping method instead of a pick-up shipping method and assuring the customers shipping address is used for this accordingly.
2022-08-15 16:13:37 +10:00
filipefurtad0
f9881b9af5
Removes if blocks from assert_db_
...
Initianlly, I thought it would be agood idea to have both setups - for included and added tax - in the same file. Hence, the private section would need to cover all cases. The PR has now two separate files, each one for the two tax types, so it seems unecessary to have these if blocks there. I think it is more readable this way.
2022-08-15 16:13:37 +10:00
filipefurtad0
79182a2d32
Removes test on 9131; moves test on 9153 into respective context
2022-08-15 16:13:37 +10:00
Jean-Baptiste Bellet
77eec6e6f3
Check step params and redirect if step is inconsistent to order state
2022-08-15 16:13:37 +10:00
filipefurtad0
a6e3f43344
Adds bug reproducing steps
2022-08-15 16:13:36 +10:00
filipefurtad0
f525a9f5da
Adds inclusive tax-spec
2022-08-15 16:13:36 +10:00
filipefurtad0
2427bfa6ea
Spec tax charging on legacy and split checkout
2022-08-15 16:13:36 +10:00
Maikel Linke
7eea4fdd1c
Adds zone_with_state_member to zone factory
...
And make zone factories more flexible.
2022-08-15 16:13:36 +10:00
Filipe
dde4bd39b2
Merge pull request #9351 from vsmay98/9338-redirect-disabled-user-to-homepage
...
Redirect to homepage with flash error when disabled user trying to access any page
2022-08-12 13:52:19 +01:00
Jean-Baptiste Bellet
36aabbb5b6
Update all locales with the latest Transifex translations
v4.2.9
2022-08-11 18:14:48 +02:00
Filipe
82f38c9aea
Merge pull request #9456 from openfoodfoundation/dependabot/bundler/activemerchant-1.126.0
...
Bump activemerchant from 1.123.0 to 1.126.0
2022-08-11 17:10:31 +01:00
Filipe
689720b749
Merge pull request #9437 from jibees/8897-preselect-default-card-and-do-not-allow-to-charge-if-no-card-is-marked-as-default
...
User account, Credit cards: Do not allow to check "Allow charges" if no credit cards marked as default
2022-08-11 16:34:42 +01:00
Filipe
50600b9d00
Merge pull request #9462 from openfoodfoundation/dependabot/bundler/pagy-5.10.1
...
Bump pagy from 5.1.2 to 5.10.1
2022-08-11 16:20:03 +01:00
Rachel Arnould
abdef21381
Update FUNDING.yml
2022-08-11 14:45:42 +02:00
jibees
4a3bd510a7
Merge pull request #9544 from jibees/upgrade-yarn-
...
Upgrade `yarn.lock` since it seemed to be derived
2022-08-10 09:06:16 +02:00
jibees
bb85473eba
Merge pull request #9550 from openfoodfoundation/dependabot/bundler/webmock-3.17.1
...
Bump webmock from 3.17.0 to 3.17.1
2022-08-10 08:57:39 +02:00
jibees
d5fa5e298e
Merge pull request #9551 from openfoodfoundation/dependabot/bundler/debug-1.6.2
...
Bump debug from 1.6.1 to 1.6.2
2022-08-10 08:57:08 +02:00
Jean-Baptiste Bellet
dab4939819
Upgrade yarn.lock since it seemed to be derived
2022-08-10 08:45:24 +02:00
jibees
43b29af922
Merge pull request #9545 from Philwi/control-capybara-headless-mode-via-environment-variable
...
Control capybara headless mode for testing via environment variable
2022-08-10 08:05:26 +02:00
dependabot[bot]
2c1acc14e6
Bump debug from 1.6.1 to 1.6.2
...
Bumps [debug](https://github.com/ruby/debug ) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/ruby/debug/releases )
- [Commits](https://github.com/ruby/debug/compare/v1.6.1...v1.6.2 )
---
updated-dependencies:
- dependency-name: debug
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-10 06:02:35 +00:00
dependabot[bot]
84f9da4a23
Bump webmock from 3.17.0 to 3.17.1
...
Bumps [webmock](https://github.com/bblimke/webmock ) from 3.17.0 to 3.17.1.
- [Release notes](https://github.com/bblimke/webmock/releases )
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bblimke/webmock/compare/v3.17.0...v3.17.1 )
---
updated-dependencies:
- dependency-name: webmock
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-10 06:00:05 +00:00
jibees
d817319aa4
Merge pull request #9539 from openfoodfoundation/dependabot/bundler/sidekiq-6.5.4
...
Bump sidekiq from 6.5.3 to 6.5.4
2022-08-10 07:58:25 +02:00
Philipp Winkler
093b851395
Control headless mode for testing via environment variable
2022-08-09 20:57:52 +02:00
Filipe
e3a150226e
Merge pull request #9507 from openfoodfoundation/dependabot/bundler/stripe-7.0.0
...
Bump stripe from 5.42.0 to 7.0.0
2022-08-09 12:33:36 +01:00
Rachel Arnould
5122ed9af4
Update FUNDING.yml
2022-08-09 10:11:17 +02:00
Rachel Arnould
ac5a3beb15
Update FUNDING.yml
2022-08-09 10:10:44 +02:00
dependabot[bot]
19481fc55e
Bump sidekiq from 6.5.3 to 6.5.4
...
Bumps [sidekiq](https://github.com/mperham/sidekiq ) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/mperham/sidekiq/releases )
- [Changelog](https://github.com/mperham/sidekiq/blob/main/Changes.md )
- [Commits](https://github.com/mperham/sidekiq/compare/v6.5.3...v6.5.4 )
---
updated-dependencies:
- dependency-name: sidekiq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-09 06:48:01 +00:00
Maikel Linke
c8cab8aae5
Update mocked responses to get a ListObject
2022-08-09 15:13:16 +10:00
dependabot[bot]
d7428015ac
Bump stripe from 5.42.0 to 7.0.0
...
Bumps [stripe](https://github.com/stripe/stripe-ruby ) from 5.42.0 to 7.0.0.
- [Release notes](https://github.com/stripe/stripe-ruby/releases )
- [Changelog](https://github.com/stripe/stripe-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stripe/stripe-ruby/compare/v5.42.0...v7.0.0 )
---
updated-dependencies:
- dependency-name: stripe
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-09 15:13:16 +10:00
Maikel
700f91efb5
Merge pull request #9449 from filipefurtad0/packing_report
...
Updates specs on Packing and Payment Reports
2022-08-09 14:56:22 +10:00
Maikel
43e4047447
Merge pull request #9495 from filipefurtad0/invoice_print_spec
...
Invoice print spec: added tax
2022-08-09 14:54:23 +10:00
Maikel
892e843e9e
Merge pull request #9533 from filipefurtad0/remove_bye_bug
...
Removes byebug and pry-byebug; keeps pry 🧹
2022-08-09 10:39:21 +10:00
filipefurtad0
85904f57b8
Removes byebug and pry-byebug; keeps pry
2022-08-08 15:22:45 +01:00
jibees
b5e23717f2
Merge pull request #9531 from mkllnk/awesome-print
...
Remove unnecessary awesome_print gem
2022-08-08 14:21:11 +02:00
jibees
d8d99c930e
Merge pull request #9530 from openfoodfoundation/dependabot/bundler/webmock-3.17.0
...
Bump webmock from 3.15.0 to 3.17.0
2022-08-08 14:09:48 +02:00
filipefurtad0
ce96094f49
Adds around block with time.freeze
2022-08-08 12:23:11 +01:00
Maikel Linke
6c655e6fbc
Remove unnecessary awesome_print gem
...
Most people don't know it and it has now been superseeded by new
versions of irb and debug.
2022-08-08 15:39:59 +10:00
Maikel Linke
2d1483febb
Remove misleading comment
...
That comment was in the original commit of this source code and was
related to another gem which has long been removed.
2022-08-08 15:38:30 +10:00
Maikel
42d7383ff0
Merge pull request #9446 from jibees/add-prettier
...
Add prettier linter for stimulusjs files
2022-08-08 14:41:47 +10:00
Maikel Linke
df4ddf45c4
Only check, not fix in pre-commit hook
2022-08-08 14:40:58 +10:00
Jean-Baptiste Bellet
e0b40222dd
add pre-commit hook
...
with husky and pretty-quick
2022-08-08 14:40:58 +10:00
Jean-Baptiste Bellet
61928cbc05
Run prettier formatter
2022-08-08 14:40:58 +10:00
Jean-Baptiste Bellet
c6884f96e1
Add prettier as a GH action
2022-08-08 14:40:58 +10:00
Jean-Baptiste Bellet
f0b5a04f6b
Ignore everything but js files related to stimulusjs
2022-08-08 14:40:58 +10:00
Jean-Baptiste Bellet
b8ffddb533
Add prettier to our stack
2022-08-08 14:40:58 +10:00
dependabot[bot]
71536767b5
Bump webmock from 3.15.0 to 3.17.0
...
Bumps [webmock](https://github.com/bblimke/webmock ) from 3.15.0 to 3.17.0.
- [Release notes](https://github.com/bblimke/webmock/releases )
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bblimke/webmock/compare/v3.15.0...v3.17.0 )
---
updated-dependencies:
- dependency-name: webmock
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-08 04:18:03 +00:00