Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix module declaration #6010

Merged
merged 2 commits into from Sep 10, 2020
Merged

Fix module declaration #6010

merged 2 commits into from Sep 10, 2020

Conversation

mkllnk
Copy link
Member

@mkllnk mkllnk commented Sep 10, 2020

What? Why?

Running script/prepare_imported_db.rb failed because Spree::PaymentMethodDistributors couldn't be found. This problem is described in the Rubocop docs: https://rubystyle.guide/#namespace-definition

I fixed only two files. There are 64 more files that don't declare the namespace correctly but they haven't been a problem so far. That's still tech debt.

What should we test?

  • Upload a new image for a variant.
  • Checkout.

Release notes

Fixed database import script for developers.

Changelog Category: Fixed

Running script/prepare_imported_db.rb failed because
Spree::PaymentMethodDistributors couldn't be found. This problem is
described in the Rubocop docs:
https://rubystyle.guide/#namespace-definition
@mkllnk mkllnk self-assigned this Sep 10, 2020
Copy link
Contributor

@luisramos0 luisramos0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! thanks Maikel!

I'd say this is pr-no-test, any of you can merge if you agree :-)

@sauloperez
Copy link
Contributor

yes, I had my doubts too @luisramos0 but the fact that this DB script fails and tests pass... 🤷

@mkllnk mkllnk merged commit dc9e3aa into openfoodfoundation:master Sep 10, 2020
@mkllnk mkllnk deleted the fix-module-declaration branch September 10, 2020 23:12
@mkllnk
Copy link
Member Author

mkllnk commented Sep 10, 2020

Okay, I skipped the testing because it will be covered by the release test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants