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 error when running a single test #2112

Merged
merged 1 commit into from
May 20, 2021
Merged

Fix error when running a single test #2112

merged 1 commit into from
May 20, 2021

Conversation

benthorner
Copy link
Contributor

@benthorner benthorner commented May 19, 2021

The require statement for the printer doesn't replace the general one for
the module. It's actually unclear how this worked without it, but I don't
think that's worth investigating.

Error, for reference:

 /govuk/government-frontend/test/test_helper.rb:10:in `<top (required)>':
undefined method `config' for I18n::Coverage:Module (NoMethodError)

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

The require statement for the printer doesn't replace the general
one for the module. It's actually unclear how this worked without
it, but I don't think that's worth investigating.

Error, for reference:

  /govuk/government-frontend/test/test_helper.rb:10:in `<top (required)>': undefined method `config' for I18n::Coverage:Module (NoMethodError)
@bevanloon bevanloon temporarily deployed to government-f-fix-single-srvsrj May 19, 2021 16:52 Inactive
@benthorner
Copy link
Contributor Author

Thanks for the review @ChrisBAshton! You'll need to merge, by the way...

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.

3 participants