mirror of
https://github.com/ViViDboarder/abuse-the-force.git
synced 2024-11-24 09:36:27 +00:00
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
Block a user