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

Pass rspec the right --order option (default or defined). #245

Merged
merged 1 commit into from
Dec 14, 2015

Conversation

davidstosik
Copy link
Contributor

As I didn't know for sure what exact version the change happened (major > 2?),
I checked inside RSpec::Core::Ordering::Registry.
If we're comfortable with making the switch on version 2 to 3 of RSpec, I can
change the condition to check Gem.latest_spec_for('rspec-core').version.segments[0].

This should fix #192.

@oestrich
Copy link
Contributor

RAD should only work with RSpec 3.0+ at this point, so if that can simplify anything please do!

https://github.com/zipmark/rspec_api_documentation/blob/master/rspec_api_documentation.gemspec#L17

@davidstosik
Copy link
Contributor Author

@oestrich Done. It's straightforward.

oestrich added a commit that referenced this pull request Dec 14, 2015
Pass rspec the right --order option (`default` or `defined`).
@oestrich oestrich merged commit 9fd5cc3 into zipmark:master Dec 14, 2015
@oestrich
Copy link
Contributor

Thanks!

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.

keep_source_order is using test run order, not source order
2 participants