spec/webmock_helpers.rb in softcover-0.6.10 vs spec/webmock_helpers.rb in softcover-0.7.0
- old
+ new
@@ -158,10 +158,9 @@
source = options[:source] || :polytex
remove_book
Dir.chdir File.join File.dirname(__FILE__), "fixtures/"
flags = []
flags << '-p' unless options[:markdown]
- flags << '-s' if options[:simple]
silence { system "softcover new #{name} #{flags.join(' ')}" }
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')
\ No newline at end of file