Bugs: Browse | Submit New | Admin

[#26266] Incompatibility: unit tests use file slashes instead of File.join

Date:
2009-06-17 19:35
Priority:
3
Submitted By:
web get (webget)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Incompatibility: unit tests use file slashes instead of File.join

Detailed description
A bunch of the tests have hardcoded slashes in file names. To be more portable, update these to use File.join

Example...

  require File.dirname(__FILE__) + '/test_helper'

...is better written like this:

  require File.join(File.dirname(__FILE__),'test_helper')

Can you let me know when this is updated? 

Thanks! joelparkerhenderson@gmail.com

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item