lib/test_notifier/notifier.rb in test_notifier-0.3.5.rc.1 vs lib/test_notifier/notifier.rb in test_notifier-0.3.5.rc.2
- old
+ new
@@ -10,11 +10,11 @@
extend self
def notifiers
constants.collect do |name|
- const_get(name)
- end
+ const_get(name) unless name.to_s == "Placebo"
+ end.compact + [Placebo]
end
def supported_notifiers
notifiers.select {|notifier| notifier.supported?}
end