diff --git a/spec/std/file_spec.cr b/spec/std/file_spec.cr
index aaa4b52645f584c2393d442c814e125d88c9ca55..226f5a6ff5245ad2de906d0f79a19b7d66c6c352 100755
--- a/spec/std/file_spec.cr
+++ b/spec/std/file_spec.cr
@@ -126,4 +126,14 @@ describe "File" do
       File.cmp("#{__DIR__}/data/test_file.txt", "#{__DIR__}/data/test_file.ini").should be_false
     end
   end
+
+  describe "delete" do
+    it "deletes a file" do
+      filename = "#{__DIR__}/data/temp1.txt"
+      File.open(filename, "w") {}
+      File.exists?(filename).should be_true
+      File.delete(filename)
+      File.exists?(filename).should be_false
+    end
+  end
 end