Project

General

Profile

Actions

Patch #7570

open

Change test_helper requirement in tests

Added by Jean-Baptiste Barth almost 14 years ago. Updated over 12 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Code cleanup/refactoring
Target version:
-
Start date:
2011-02-07
Due date:
% Done:

0%

Estimated time:

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'.

Actions

Also available in: Atom PDF