lib/ocrunner/test_case.rb in ocrunner-0.2.4 vs lib/ocrunner/test_case.rb in ocrunner-0.2.5

- old
+ new

@@ -8,8 +8,17 @@ attr_accessor :errors def initialize(name) @name = name @errors = [] + @passed = true + end + + def fail! + @passed = false + end + + def passed? + @passed end end end \ No newline at end of file