lib/active_support/testing/pending.rb in activesupport-3.0.0.rc vs lib/active_support/testing/pending.rb in activesupport-3.0.0.rc2

- old
+ new

@@ -23,26 +23,26 @@ block.call rescue Exception failed = true end - flunk("<#{description}> did not fail.") unless failed + flunk("<#{description}> did not fail.") unless failed end caller[0] =~ (/(.*):(.*):in `(.*)'/) @@pending_cases << "#{$3} at #{$1}, line #{$2}" print "P" - + @@at_exit ||= begin at_exit do puts "\nPending Cases:" @@pending_cases.each do |test_case| puts test_case end end end end end - + end end end \ No newline at end of file