Permalink
Browse files

use new process for testing.

  • Loading branch information...
1 parent 4496b41 commit de88a99e90e6ce12934e8ae9a5a54e98a48fc243 @jimweirich committed Nov 9, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 Rakefile
  2. +2 −1 lib/rake/ext/string.rb
  3. +0 −1 lib/rake/ext/time.rb
View
1 Rakefile
@@ -60,6 +60,7 @@ task :default => :test
Rake::TestTask.new do |t|
files = FileList['test/helper.rb', 'test/test_*.rb']
+ t.loader = :testrb
t.test_files = files
t.libs << "."
t.warning = true
View
3 lib/rake/ext/string.rb
@@ -4,6 +4,7 @@
# Rake extension methods for String.
#
class String
+
rake_extension("ext") do
# Replace the file extension with +newext+. If there is no extension on
# the string, append the new extension to the end. If the new extension
@@ -163,5 +164,5 @@ def pathmap(spec=nil, &block)
result
end
end
-end # class String
+end
View
1 lib/rake/ext/time.rb
@@ -11,4 +11,3 @@ def <=>(other)
end
end
end
-

0 comments on commit de88a99

Please sign in to comment.