lib/exercism/assignment.rb in exercism-0.0.6 vs lib/exercism/assignment.rb in exercism-0.0.7

- old
+ new

@@ -23,10 +23,12 @@ def save FileUtils.mkdir_p assignment_dir File.open readme_path, 'w' do |f| f.write readme end - File.write tests_path, tests + File.open tests_path, 'w' do |f| + f.write tests + end self end def assignment_dir @assignment_dir ||= File.join(project_dir, track, slug)