Permalink
Browse files

Mark skipped tests as skipped instead of failure

  • Loading branch information...
1 parent b22ba4b commit f2c3e6a6d3922eea7839af62f10d106313966c7c @stopdropandrew stopdropandrew committed Feb 16, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/ci/reporter/minitest.rb
View
6 lib/ci/reporter/minitest.rb
@@ -211,7 +211,11 @@ def finish_case
def fault(fault, type = nil, meth = nil)
tc = @current_suite.testcases.last
- tc.failures << Failure.new(fault, type, meth)
+ if :skip == type
+ tc.skipped = true
+ else
+ tc.failures << Failure.new(fault, type, meth)
+ end
end
end

0 comments on commit f2c3e6a

Please sign in to comment.