test/test_helper.rb in review-3.0.0.preview1 vs test/test_helper.rb in review-3.0.0.preview2
- old
+ new
@@ -9,10 +9,10 @@
def assets_dir
File.join(File.dirname(__FILE__), 'assets')
end
def prepare_samplebook(srcdir)
- samplebook_dir = File.expand_path('sample-book/src/', File.dirname(__FILE__))
+ samplebook_dir = File.expand_path('../samples/sample-book/src/', File.dirname(__FILE__))
FileUtils.cp_r(Dir.glob(samplebook_dir + '/*'), srcdir)
YAML.load(File.open(srcdir + '/config.yml'))
end
def compile_inline(text)