exe/generic_test in generic_test-0.3.0 vs exe/generic_test in generic_test-0.3.1
- old
+ new
@@ -24,10 +24,11 @@
desc = ENV['PAGE_URL'].split('://').last.tr('/', '_')
junit_format = "-f RspecJunitFormatter --out logs/page_#{desc}.xml"
ENV['REPORT_PATH'] = "reports/#{desc}"
html_format = '--format html --out logs/report.html'
command = "rspec #{test_file_path} --format documentation --color #{junit_format} #{html_format}"
- raise $CHILD_STATUS.to_s unless system command
+ exit(1) unless system command
+ #raise $CHILD_STATUS.to_s unless system command
end
desc 'version', 'Version of generic_test'
def version
require 'generic_test'