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 fetching metadata in specs #117

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

JewelSam
Copy link
Contributor

Specs can't be ran, they fail with an error

Failure/Error: if test.metadata[:skip_reset]

ArgumentError:
  wrong number of arguments (given 0, expected 2..3)
# ./spec/spec_helper.rb:8:in `test'
# ./spec/spec_helper.rb:8:in `block (2 levels) in <top (required)>'

I'm not sure how it worked before but with this fix, metadata is fetching successfully.

Copy link
Collaborator

@xhocquet xhocquet left a comment

Choose a reason for hiding this comment

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

Good catch, I'm not sure I've ever used this config before since a reset is recommended when running tests repeatedly.

@xhocquet xhocquet merged commit 43b4e0c into cburnette:master Oct 31, 2022
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.

2 participants