spec/spec_helper.rb in cloudformation-ruby-dsl-1.2.6 vs spec/spec_helper.rb in cloudformation-ruby-dsl-1.3.0
- old
+ new
@@ -102,10 +102,10 @@
##
# Delete a file from the spec/tmp directory
def delete_test_file(filename)
abs_path = File.join(from_project_root("spec/tmp"), filename)
- FileUtils.rm(abs_path) if File.exist?(abs_path)
+ FileUtils.rm(abs_path)
end
##
# Write a file to the spec/tmp directory
def write_test_file(filename, contents)