Mark skipped tests as skipped instead of failure #52

Merged
merged 1 commit into from Feb 16, 2012
Jump to file or symbol
Failed to load files and symbols.
+5 −1
Split
@@ -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