You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by bo...@apache.org on 2009/11/17 22:39:10 UTC
svn commit: r881542 - in /buildr/trunk: CHANGELOG
lib/buildr/java/test_result.rb spec/java/bdd_spec.rb
Author: boisvert
Date: Tue Nov 17 21:39:09 2009
New Revision: 881542
URL: http://svn.apache.org/viewvc?rev=881542&view=rev
Log:
BUILDR-344 Buildr::TestFramework::TestResult::YamlFormatter uses deprecated
form of example_pending (Rhett Sutphin)
Modified:
buildr/trunk/CHANGELOG
buildr/trunk/lib/buildr/java/test_result.rb
buildr/trunk/spec/java/bdd_spec.rb
Modified: buildr/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/buildr/trunk/CHANGELOG?rev=881542&r1=881541&r2=881542&view=diff
==============================================================================
--- buildr/trunk/CHANGELOG (original)
+++ buildr/trunk/CHANGELOG Tue Nov 17 21:39:09 2009
@@ -18,6 +18,8 @@
entries (Stefan Wasilewski)
* Fixed: BUILDR-327 Specifying :plugin eclipse nature explicitly fails
* Fixed: buildr test=all didn't run all tests as expected
+* Fixed: BUILDR-344 Buildr::TestFramework::TestResult::YamlFormatter uses
+ deprecated form of example_pending (Rhett Sutphin)
* Fixed: BUILDR-345 Improve project documentation (Peter Schröder)
1.3.5 (2009-10-05)
Modified: buildr/trunk/lib/buildr/java/test_result.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/java/test_result.rb?rev=881542&r1=881541&r2=881542&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/java/test_result.rb (original)
+++ buildr/trunk/lib/buildr/java/test_result.rb Tue Nov 17 21:39:09 2009
@@ -76,7 +76,7 @@
result.succeeded << example_group.location.gsub(/:\d+$/, '')
end
- def example_pending(example, counter, failure)
+ def example_pending(example, counter)
result.succeeded << example_group.location.gsub(/:\d+$/, '')
end
Modified: buildr/trunk/spec/java/bdd_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/java/bdd_spec.rb?rev=881542&r1=881541&r2=881542&view=diff
==============================================================================
--- buildr/trunk/spec/java/bdd_spec.rb (original)
+++ buildr/trunk/spec/java/bdd_spec.rb Tue Nov 17 21:39:09 2009
@@ -261,7 +261,7 @@
error = File.expand_path('src/spec/ruby/error_spec.rb')
write(error, 'describe("error") { it("raises") { lambda; } }')
pending = File.expand_path('src/spec/ruby/pending_spec.rb')
- write(pending, 'describe("peding") { it "is not implemented" }')
+ write(pending, 'describe("pending") { it "is not implemented" }')
foo do
lambda { test.invoke }.should raise_error(/Tests failed/)
test.tests.should include(success, failure, error)