lib/test_notifier/autotest.rb in test_notifier-0.0.9 vs lib/test_notifier/autotest.rb in test_notifier-0.1.0
- old
+ new
@@ -2,9 +2,11 @@
Autotest.add_hook :ran_command do |at|
begin
content = at.results.to_s
- TestNotifier.rspec?(content) ? TestNotifier.notification_for_rspec(content) : TestNotifier.notification_for_test_unit(content)
+ TestNotifier.rspec?(content) ?
+ TestNotifier.notification_for_rspec(content) :
+ TestNotifier.notification_for_test_unit(content)
rescue
end
end
\ No newline at end of file