lib/bun_bo.rb in bun_bo-0.1.2 vs lib/bun_bo.rb in bun_bo-0.1.3

- old
+ new

@@ -1,6 +1,7 @@ require "bun_bo/version" +require "bun_bo/file_not_found" require 'fileutils' class BunBo def run(input_path) input_path = Pathname.new(input_path) @@ -14,9 +15,9 @@ test_path = test_folder.join("#{base_name}_spec").sub_ext(".rb") FileUtils.mkdir_p(test_folder) test_path.write('') else - puts "File does not exists" + raise FileNotFound end end end