Improve method of detecting that tests have been run
This commit is contained in:
parent
9ab1eb3b98
commit
eb7004f6cb
|
@ -107,7 +107,7 @@ module AbuseTheForce
|
||||||
if result != nil
|
if result != nil
|
||||||
|
|
||||||
# Check if this was a test execution
|
# Check if this was a test execution
|
||||||
if result.run_test_result != nil
|
if options[:run_tests] != nil
|
||||||
|
|
||||||
# Display a quick Success or Failure
|
# Display a quick Success or Failure
|
||||||
puts "\nTests #{result.run_test_result.num_failures == "0" ? "SUCCESS" : "FAILURE"}"
|
puts "\nTests #{result.run_test_result.num_failures == "0" ? "SUCCESS" : "FAILURE"}"
|
||||||
|
|
Loading…
Reference in New Issue