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

Randy Harmon rjharmon0316 at yahoo.com
Thu Feb 26 17:10:13 EST 2009


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

Meanwhile, is there a different place I should put this helper file that would be better suited than support/ ?

Thanks,

Randy


More information about the rspec-users mailing list