test/lib/docparser/output/yaml_output_test.rb in docparser-0.2.0 vs test/lib/docparser/output/yaml_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.yml')
DocParser::YAMLOutput.new(filename: filename)
- File.exists?(filename).must_equal true
+ File.exist?(filename).must_equal true
end
end
it 'must save the header' do
Dir.mktmpdir do |dir|