Skip to content

CI: Fix CI failures with minitest v6#210

Merged
taketo1113 merged 1 commit intomasterfrom
fix-ci-minitest-6
Dec 22, 2025
Merged

CI: Fix CI failures with minitest v6#210
taketo1113 merged 1 commit intomasterfrom
fix-ci-minitest-6

Conversation

@taketo1113
Copy link
Collaborator

This Pull Request fixes CI failures caused by minitest v6.

With minitest v6, the following errors occur in CI:

  1) Error:
Slim::Generators::AuthenticationGeneratorTest#test_should_generate_SlimLint_valid_templates:
NoMethodError: undefined method 'stub' for an instance of Rails::Generators::AuthenticationGenerator
    test/lib/generators/slim/authentication_generator_test.rb:39:in 'Slim::Generators::AuthenticationGeneratorTest#run_generator_instance'
    test/lib/generators/slim/authentication_generator_test.rb:26:in 'block in <class:AuthenticationGeneratorTest>'

  2) Error:
Slim::Generators::AuthenticationGeneratorTest#test_should_invoke_template_engine:
NoMethodError: undefined method 'stub' for an instance of Rails::Generators::AuthenticationGenerator
    test/lib/generators/slim/authentication_generator_test.rb:39:in 'Slim::Generators::AuthenticationGeneratorTest#run_generator_instance'
    test/lib/generators/slim/authentication_generator_test.rb:18:in 'block in <class:AuthenticationGeneratorTest>'

@taketo1113 taketo1113 self-assigned this Dec 22, 2025
@taketo1113 taketo1113 merged commit 400ec93 into master Dec 22, 2025
26 checks passed
@taketo1113 taketo1113 deleted the fix-ci-minitest-6 branch December 22, 2025 14:09
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.

1 participant