lib/capistrano/ghostinspector/api.rb in capistrano-ghostinspector-1.0.0 vs lib/capistrano/ghostinspector/api.rb in capistrano-ghostinspector-1.0.1
- old
+ new
@@ -21,15 +21,15 @@
# Default all tests pass
passing = true
# ------ TESTING ONLY ------
- results = JSON.parse(File.read("gitestresults.json"))
+ # results = JSON.parse(File.read("gitestresults.json"))
# results = JSON.parse(File.read("suiteresults.json"))
# ------ TESTING ONLY ------
# # Perform the API request and get the results
- # results = sendRequest(type, test)
+ results = sendRequest(type, test)
# Check the data returned for failed tests
if (@rollback == true)
passing = getPassing(type, results)
end