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

Specify to infer spec type from file location #1013

Closed
wants to merge 1 commit into from

Conversation

bingxie
Copy link
Contributor

@bingxie bingxie commented Feb 23, 2015

To get rid of the warning for the coming rspec3.

@rap1ds
Copy link
Member

rap1ds commented Feb 24, 2015

Thanks for you PR!

I will leave this open for discussion, but I have a feeling that instead of this, we could just add the test type to each RSpec file. To me this feels like unnecessary magic, which also prevents us from arranging the specs in different directory structure.

@bingxie
Copy link
Contributor Author

bingxie commented Feb 24, 2015

This will let us still keep the dir convention in mind. But if we decided to add type to each file. After we finished the change, we can get rid of this magic.

@ovan
Copy link
Contributor

ovan commented Mar 30, 2015

Hi @bingxie. I'm closing this now as we have not yet upgraded to rspec3. I prefer to force an explicit choice about this at upgrade time instead.

@ovan ovan closed this Mar 30, 2015
@bingxie
Copy link
Contributor Author

bingxie commented Mar 30, 2015

That's ok!

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.

3 participants