lib/agile_notifier/judger.rb in agile_notifier-1.0 vs lib/agile_notifier/judger.rb in agile_notifier-1.1
- old
+ new
@@ -4,9 +4,13 @@
class Judger
class << self
def on_fail(trackable, text, args)
on_condition(trackable.failed?, text, args)
end
+
+ def on_unstable(trackable, text, args)
+ on_condition(trackable.unstable?, text, args)
+ end
def on_pass(trackable, text, args)
on_condition(trackable.passed?, text, args)
end
\ No newline at end of file