lib/riot_notifier/base.rb in riot_notifier-0.0.8 vs lib/riot_notifier/base.rb in riot_notifier-0.1.1
- old
+ new
@@ -29,12 +29,12 @@
::RiotNotifier.register notifier
end
# Override
- def fail(desc, message)
+ def fail(desc, message, file, line)
super
- notify(:red, "FAILURE: #{message}")
+ notify(:red, "FAILURE: #{message}@#{file}:#{line}")
end
def error(desc, error)
super
notify(:red, "ERROR: #{error}")