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

Sorting spec file list loaded from windows directory #424

Closed
ghost opened this issue Jul 13, 2011 · 2 comments
Closed

Sorting spec file list loaded from windows directory #424

ghost opened this issue Jul 13, 2011 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 13, 2011

Summary: Does/Should rspec sort the spec file list prior to acting on them?

Detail:
I'm running rake spec on a windows server. The windows server has a problem that I am trying to figure out. It is not returning the directory list in sort sequence. I discovered this when I migrated a gem to this server and ran spec. It executed the files in the sequence acquired from windows. My spec's are prefixed 01-, 02-, etc... to ensure that they execute in a specified order. Unfortunately, because of the windows presentation of files not in sort sequence, rspec is throwing all kinds of errors.

I know I have a problem to fix with the windows server, however, I'm wondering if rspec should sort the file list internally, as a safety play, prior to acting on the files. That would protect itself from these kind of anomalies.

dvn - I maybe totally whack on this

@charliemaffitt
Copy link
Contributor

No responses to this in a year leads me to believe this is not an issue for most users. Suggest closing it, it can always be re-opened if other people run into the same issue.

@alindeman
Copy link
Contributor

Actually I think #660 should have solved this. Thanks @charliemaffitt. Ping me to reopen if that's not the case.

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