test/lib/docparser/output_test.rb in docparser-0.2.0 vs test/lib/docparser/output_test.rb in docparser-0.2.2
- old
+ new
@@ -10,10 +10,10 @@
it 'must create a file' do
Dir.mktmpdir do |dir|
filename = File.join(dir, 'test.csv')
DocParser::Output.new(filename: filename)
- File.exists?(filename).must_equal true
+ File.exist?(filename).must_equal true
end
end
it 'must call the header callback' do
Dir.mktmpdir do |dir|