exe/generic_test in generic_test-0.1.3 vs exe/generic_test in generic_test-0.1.4

- old
+ new

@@ -9,11 +9,12 @@ class Exe < Thor desc 'page page_url', 'Test web page' def page(page_url) ENV['PAGE_URL'] = page_url puts File.join(File.dirname(__FILE__)) - test_file_path = File.join(Dir.pwd, File.dirname(__FILE__), '..', 'spec', 'generic_test_spec.rb') - puts 'no file' unless File.exist? test_file_path + 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 + command = "rspec #{test_file_path} --format documentation --require generic_test/setup" puts command #require_relative '../lib/generic_test/setup' system command # "rspec #{test_file_path} --format documentation --require generic_test" #puts `rspec #{test_file_path} --format documentation --require generic_test` \ No newline at end of file