Skip to content

Commit

Permalink
Mark skipped tests as skipped instead of failure
Browse files Browse the repository at this point in the history
  • Loading branch information
stopdropandrew committed Feb 16, 2012
1 parent b22ba4b commit f2c3e6a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/ci/reporter/minitest.rb
Expand Up @@ -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
Expand Down

0 comments on commit f2c3e6a

Please sign in to comment.