Sha256: eb50ca0ea58ab9773c17de7a2ff3c611f4b9dc04842c5c3d7fbf8f5c22029fba
Contents?: true
Size: 494 Bytes
Versions: 12
Compression:
Stored size: 494 Bytes
Contents
require 'fileutils' module SpecFilesSetup def setup_env! FileUtils.mkdir_p('my_course_handouts/headings') lessons_array_with_incorrect.each do |file| File.new("my_course_handouts/#{file}", 'w+').close end headings_array_with_incorrect.each do |file| File.new("my_course_handouts/headings/#{file}", 'w+').close end end def clear_env! FileUtils.remove_entry('my_course_handouts') FileUtils.remove_entry('test.md', true) end end
Version data entries
12 entries across 12 versions & 1 rubygems