Improve method of detecting that tests have been run

This commit is contained in:
ViViDboarder 2013-10-07 17:50:01 -07:00
parent 9ab1eb3b98
commit eb7004f6cb
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ module AbuseTheForce
if result != nil
# Check if this was a test execution
if result.run_test_result != nil
if options[:run_tests] != nil
# Display a quick Success or Failure
puts "\nTests #{result.run_test_result.num_failures == "0" ? "SUCCESS" : "FAILURE"}"