Skip to content

Reorganise matchers #1635

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

Merged
merged 2 commits into from
Jun 14, 2016
Merged

Reorganise matchers #1635

merged 2 commits into from
Jun 14, 2016

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Jun 10, 2016

An attempt to fix #1488 by bringing the general matchers into "always included" but not the few very specific rails matchers.

@JonRowe JonRowe force-pushed the reorganise_matchers branch from c2a3294 to 88938bb Compare June 11, 2016 11:28
@JonRowe
Copy link
Member Author

JonRowe commented Jun 14, 2016

/cc @samphippen be good to get this into the 3.5 release, it should make active job matchers (and more) available more widely

@fables-tales
Copy link
Member

LGTM.

@JonRowe JonRowe merged commit 2c33b73 into master Jun 14, 2016
@JonRowe JonRowe deleted the reorganise_matchers branch June 14, 2016 11:14
@JonRowe
Copy link
Member Author

JonRowe commented Jun 14, 2016

Bah, realised this is a semver violation, I'll rework it.

@fables-tales
Copy link
Member

@JonRowe isn't everything that you merged marked api privatE?

@JonRowe
Copy link
Member Author

JonRowe commented Jun 14, 2016

Yes apart from RSpec::Rails::Matchers which I'd removed some classes from.

@Senjai
Copy link

Senjai commented Jun 14, 2016

@JonRowe Thank you for poking at this. Much appreciated man.

sebjacobs pushed a commit to futurelearn/rspec-rails that referenced this pull request Mar 15, 2019
* segreate generally usable matchers from rails context specific matchers

* include general matchers in all contexts when rspec-rails is present
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.

have_enqueued_job not available by default in 3.4.0
3 participants