[rspec-users] [cucumber] Adding a file to support/ can break requires ordering

Ben Mabey ben at benmabey.com
Thu Feb 26 17:47:15 EST 2009

Randy Harmon wrote:
> Current code in cucumber prioritizes features/support/ files, but if I add another file in that location, then it can (sometimes) include that file first.  Seems to depend on the number of files actually in the entire list being sorted, or something.   
> I added a ticket for this issue.
> http://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/213-sorting-problems-with-files-to-require-with-extra-files-in-featuressupport

I've replied on the ticket.
> Meanwhile, is there a different place I should put this helper file that would be better suited than support/ ?

No, that is the correct spot.


More information about the rspec-users mailing list