spec/webmock_helpers.rb in softcover-0.5.0 vs spec/webmock_helpers.rb in softcover-0.6.0
- old
+ new
@@ -157,10 +157,10 @@
name = options[:name] || 'book'
source = options[:source] || :polytex
remove_book
Dir.chdir File.join File.dirname(__FILE__), "fixtures/"
flags = []
- flags << '-m' if options[:markdown]
+ 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')
\ No newline at end of file