exe/generic_test in generic_test-0.2.1 vs exe/generic_test in generic_test-0.2.2
- old
+ new
@@ -5,9 +5,13 @@
require 'English'
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
# Executable for Generic Test
class Exe < Thor
+ def self.exit_on_failure?
+ true
+ end
+
desc 'page page_url', 'Test web page'
def page(page_url)
ENV['PAGE_URL'] = page_url
test_file_path = File.join(File.dirname(__FILE__), '..', 'spec', 'generic_test_spec.rb')
raise "no file at #{test_file_path}" unless File.exist? test_file_path