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

Ability to set global default options #39

Open
philnash opened this issue Feb 12, 2018 · 1 comment
Open

Ability to set global default options #39

philnash opened this issue Feb 12, 2018 · 1 comment

Comments

@philnash
Copy link

First up, thanks for this gem! It is exactly what I need for testing some XML output and is vastly simplifying a lot of code I wrote. Thank you!

One thing I would like to change is the ability to set the default options. In my tests I always want to respect element order, yet I have to call (using the rspec matchers) .respecting_element_order every time. I'd prefer to be able to set that once for my test suite and not have to repeat myself.

I'd love to help add this, if you're interested. Let me know.

@mbklein
Copy link
Owner

mbklein commented Feb 19, 2018

I'd be happy to merge a pull request that provides a good mechanism for the kind of default behavior you're talking about. Feel free to fork, and hit me up for questions/check-ins if you need. :)

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

2 participants