Patch #7570
Change test_helper requirement in tests
Status: | New | Start date: | 2011-02-07 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Code cleanup/refactoring | |||
Target version: | - |
Description
In r4509 I changed the way test_helper was required in all our tests, so that tests could run on ruby 1.9.2 (ftr, ruby 1.9.2 no longer includes "." in $LOAD_PATH by default). This change was also made to ease test runs from command line (e.g. ruby /path/to/one/test.rb
).
Gregor said on github that a simple require 'test_helper'
would be good enough with ruby's -I
flag.
Any thought about that ? If not, I'll replace them with simplers require 'test_helper'
.
History
#1
Updated by Etienne Massip over 11 years ago
No clue but that would be cleaner, for sure :)
#2
Updated by Jean-Baptiste Barth almost 10 years ago
- Assignee deleted (
Jean-Baptiste Barth)