diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -28,6 +28,6 @@ SimpleCov.start do
   add_filter '/spec/'
 end if ENV["COVERAGE"]
 
-$logger = ZTK::Logger.new(Tempfile.new("test").path)
+$logger = ZTK::Logger.new(File.join("/tmp", "test.log"))
 
 ################################################################################
diff --git a/spec/ztk/logger_spec.rb b/spec/ztk/logger_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/ztk/logger_spec.rb
+++ b/spec/ztk/logger_spec.rb
@@ -31,7 +31,7 @@ describe ZTK::Logger do
       :error => "This is a test error message",
       :fatal => "This is a test fatal message"
     }
-    @logfile = Tempfile.new("logger").path
+    @logfile = File.join("/tmp", "logger.log")
   end
 
   before(:each) do
use specific filepaths for spec loggers