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

RSpec converts YAML files to Hash before comparison #23

Merged
merged 1 commit into from
Apr 24, 2021

Conversation

kyoshidajp
Copy link
Contributor

Hello, thank you for your nice tool.

I noticed the following failed test.
https://github.com/k0kubun/rspec-openapi/pull/22/checks?check_run_id=2051943034

I was able to reproduce it in my environment, too. The comparison of YAML files seems to be a bit buggy.

My idea is to convert the YAML files to Hash before the comparison.

@k0kubun
Copy link
Collaborator

k0kubun commented Apr 24, 2021

Interesting idea. One of the benefits behind the original implementation was to be able to see what YAML changes are made by the current code locally, but given that we could see diffs on GitHub PRs and updating the YAML is not difficult without the diff either, this idea may be better. I might change my mind later, but let's try this for now.

@k0kubun k0kubun merged commit 9a65dcc into exoego:master Apr 24, 2021
@kyoshidajp kyoshidajp deleted the rspec_compare_as_hash branch April 26, 2021 01:20
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