Author: vborja
Date: Mon Oct  6 11:58:36 2008
New Revision: 702227

URL: http://svn.apache.org/viewvc?rev=702227&view=rev
Log:
fixed typos

Modified:
    incubator/buildr/trunk/lib/buildr/java/jtestr_runner.rb.erb

Modified: incubator/buildr/trunk/lib/buildr/java/jtestr_runner.rb.erb
URL: 
http://svn.apache.org/viewvc/incubator/buildr/trunk/lib/buildr/java/jtestr_runner.rb.erb?rev=702227&r1=702226&r2=702227&view=diff
==============================================================================
--- incubator/buildr/trunk/lib/buildr/java/jtestr_runner.rb.erb (original)
+++ incubator/buildr/trunk/lib/buildr/java/jtestr_runner.rb.erb Mon Oct  6 
11:58:36 2008
@@ -101,13 +101,15 @@
   argv.push *<%= tests.inspect %>
   Buildr::TestFramework::TestResult::RSpecResultHandler.init(argv, output, 
output)
 
-  # JtestR uses this method, no longer on rspec
+  # JtestR uses this method, no longer available on rspec 1.1.5
   module ::Spec; def self.run=(flag); end; end
-  # JtestR uses a deprecated arity, so to complain with latest version we 
override it
-  class ::JtestR::RSpecResultHandler 
+  # JtestR uses a deprecated arity for the example_pending method
+  # rspec 1.1.5 needs it to take three arguments or it will complain
+  # so we override it here
+  class ::JtestR::RSpecResultHandler
     alias_method :deprecated_example_pending, :example_pending
     def example_pending(example, message, pending_caller)
-      deprecated_example_pendng(example, message)
+      deprecated_example_pending(example, message)
     end
   end
   


Reply via email to