test/lib/docparser/output/multi_output_test.rb in docparser-0.2.0 vs test/lib/docparser/output/multi_output_test.rb in docparser-0.2.2
- old
+ new
@@ -11,12 +11,12 @@
it 'must create files' do
Dir.mktmpdir do |dir|
filename = File.join(dir, 'test')
DocParser::MultiOutput.new(filename: filename)
- File.exists?(filename).must_equal false
+ File.exist?(filename).must_equal false
['.csv', '.html', '.yml', '.xlsx', '.json'].each do |ext|
- File.exists?(filename + ext).must_equal true
+ File.exist?(filename + ext).must_equal true
end
end
end
it 'must save the header' do