diff --git a/test/support/test_case.rb b/test/support/test_case.rb index e2163d471..c9ca263e2 100644 --- a/test/support/test_case.rb +++ b/test/support/test_case.rb @@ -16,7 +16,7 @@ def teardown end def remove_temp_file - File.unlink(@temp_file) + File.unlink(@temp_file) if @temp_file @temp_file = nil end