spec/book_downloader_spec.rb in kindai-2.4.3 vs spec/book_downloader_spec.rb in kindai-2.5.1
- old
+ new
@@ -17,13 +17,13 @@
@downloader.retry_count.should == 50
end
it 'has base path' do
@downloader.base_path = "/path/to/library"
- @downloader.book_path.should == "/path/to/library/正義熱血社 - 正義の叫"
+ @downloader.book_path.should == "/path/to/library/正義熱血社出版部 - 正義の叫"
@downloader.base_path = "/path/to/library/"
- @downloader.book_path.should == "/path/to/library/正義熱血社 - 正義の叫"
+ @downloader.book_path.should == "/path/to/library/正義熱血社出版部 - 正義の叫"
end
it 'can download book' do
base_path = File.join(ENV['TMPDIR'] || ENV['TMP'] || ENV['TEMP'] || '/tmp', rand.to_s)
Dir.mkdir(base_path)