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

Use more native rspec matchers in tests #179

Merged
merged 2 commits into from
Jun 9, 2024

Commits on Jun 9, 2024

  1. Consistently use the be_a Hash assertion

    This is a more native way of asserting it's a certain class.
    ekohl authored and bastelfreak committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    45766af View commit details
    Browse the repository at this point in the history
  2. Use contain_exactly to assert results

    This is a more native way to assert results, meaning asserting the size
    is redundant.
    ekohl authored and bastelfreak committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    907fdf9 View commit details
    Browse the repository at this point in the history