Project

General

Profile

Actions

Patch #7570

open

Change test_helper requirement in tests

Added by Jean-Baptiste Barth about 13 years ago. Updated almost 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 #1

Updated by Etienne Massip about 13 years ago

No clue but that would be cleaner, for sure :)

Actions #2

Updated by Jean-Baptiste Barth almost 12 years ago

  • Assignee deleted (Jean-Baptiste Barth)
Actions

Also available in: Atom PDF