spec/webmock_helpers.rb in softcover-0.9.12 vs spec/webmock_helpers.rb in softcover-0.9.13

- old
+ new

@@ -184,9 +184,10 @@ chdir_to_book File.mkdir 'html' unless File.exist?('html') File.write(File.join('html', 'chapter-1.html'), 'test') File.write(File.join('html', 'chapter-1_fragment.html'), 'test') File.write(File.join('html', 'test_fragment.html'), 'test') + File.write(File.join('html', "#{name}.html"), 'test') File.mkdir 'ebooks' unless File.exist?('ebooks') Softcover::FORMATS.each do |format| dir = format == 'html' ? 'html' : 'ebooks' File.write(File.join(dir, "test-book.#{format}"), 'test') end \ No newline at end of file