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

Formatter SimpleCovSmallBadge::Formatter failed with NoMethodError: undefined method `positive?' for {}:Hash #19

Closed
raelgc opened this issue Oct 24, 2022 · 1 comment

Comments

@raelgc
Copy link

raelgc commented Oct 24, 2022

While using:

  • ruby 3.x (I tested with 3.0.4 or 3.1.2)
  • rails 6.1.7
  • simplecov 0.21.2

And running rspec, at the end I'm seeing this error:

Formatter SimpleCovSmallBadge::Formatter failed with NoMethodError: undefined method `positive?' for {}:Hash

  if SimpleCov.minimum_coverage&.positive?
                               ^^^^^^^^^^^ (/home/rael/.rvm/gems/ruby-3.1.2@output-set/gems/simplecov-small-badge-0.2.4/lib/simplecov_small_badge/formatter.rb:36:in `state')
@raelgc
Copy link
Author

raelgc commented Jan 3, 2023

Duplicate of #15.

@raelgc raelgc closed this as completed Jan 3, 2023
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

No branches or pull requests

1 participant