-
-
Notifications
You must be signed in to change notification settings - Fork 1k
allow helper module specs to spec internal classes, fix #1339 #1340
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
allow helper module specs to spec internal classes, fix #1339 #1340
Conversation
72656df
to
b0c67e3
Compare
@@ -1,3 +1,4 @@ | |||
require 'rspec/version' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't necessarily present and in anycase is superfluous as below
b0c67e3
to
709f6a5
Compare
@JonRowe thanks for the feedback. What i'm running into is a bit tricky and due to a confluence of issues:
I suppose writing this out makes the solution more obvious: the behavior should be the same regardless of the presence of |
This is what needs to be addressed, the changes to the behaviour of rspec-core are expected and desired. |
709f6a5
to
2b7b6d5
Compare
@JonRowe agreed. execution of the intention got muddled while chasing down dependencies and figuring out what was going on. apologies for the PR noise, didn't have things set up to test across multiple versions of rails locally, realize now i opened this too early. |
My comments from the initial issue:
|
@cupakromer think that's a fair point, though as someone navigating the upgrade process and continuing to leverage Actually, as I look at this more I think there may be one very compelling reason to support this use case: the definition of Going to run some exploratory tests now. On that note, I'm having difficulty replicating green builds locally using other versions of rails as described at https://github.com/rspec/rspec-rails/blob/master/README_DEV.md Am I doing something wrong?
appreciate the help, thanks. |
@pdswan were you able to make more progress on this? I think supporting |
@pdswan are you likely to be able to look at this any time soon? If not, don't worry. I'd like to see this merged, and I'm happy to finish it off otherwise. |
@samphippen unlikely i'll be able to look at it soon. thanks for checking in and picking it up; much appreciated! |
No description provided.