summaryrefslogtreecommitdiffstats
path: root/test/unit/wiki_test.rb
diff options
context:
space:
mode:
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2010-12-12 23:24:34 +0000
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2010-12-12 23:24:34 +0000
commit17f86d964fe05e677714baa35ec319abe13ae8bf (patch)
tree0b5c1d07883152cfe5ed8b1a7b76c2388d97583d /test/unit/wiki_test.rb
parentf9f1bd58d6a6563e99b067195975c7b101817ab0 (diff)
downloadredmine-17f86d964fe05e677714baa35ec319abe13ae8bf.tar.gz
redmine-17f86d964fe05e677714baa35ec319abe13ae8bf.zip
Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/wiki_test.rb')
-rw-r--r--test/unit/wiki_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/wiki_test.rb b/test/unit/wiki_test.rb
index 82a08b4c4..bc5ad8a08 100644
--- a/test/unit/wiki_test.rb
+++ b/test/unit/wiki_test.rb
@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-require File.dirname(__FILE__) + '/../test_helper'
+require File.expand_path('../../test_helper', __FILE__)
class WikiTest < ActiveSupport::TestCase
fixtures :wikis, :wiki_pages, :wiki_contents, :wiki_content_versions