test/api_test.rb in invoice_printer-1.2.0 vs test/api_test.rb in invoice_printer-1.3.0

- old
+ new

@@ -13,10 +13,10 @@ @test_dir = File.absolute_path('./tmp/invoice_printer_api') FileUtils.mkdir_p @test_dir end def teardown - FileUtils.rm_rf @test_dir if File.exists?(@test_dir) + FileUtils.rm_rf @test_dir if File.exist?(@test_dir) end # Test POST /print def test_print_with_invalid_json \ No newline at end of file