Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge remote-tracking branch 'origin/master'

* origin/master:
  Switched to a relative load of rake/phony for ruby integration
  • Loading branch information...
commit 04f4b852e01dac922d075a210ad9731a3549c112 2 parents b6e1c58 + 2312af6
@jimweirich authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/test_rake_file_task.rb
View
8 test/test_rake_file_task.rb
@@ -1,10 +1,6 @@
require File.expand_path('../helper', __FILE__)
require 'fileutils'
-def load_phony
- load File.dirname(__FILE__) + "/../lib/rake/phony.rb"
-end
-
class TestRakeFileTask < Rake::TestCase
include Rake
@@ -119,4 +115,8 @@ def ztest_file_deletes_on_failure
assert( ! File.exist?(NEWFILE), "NEWFILE should be deleted")
end
+ def load_phony
+ load File.join(@orig_PWD, "lib/rake/phony.rb")
+ end
+
end
Please sign in to comment.
Something went wrong with that request. Please try again.