diff --git a/hpack.cabal b/hpack.cabal
--- a/hpack.cabal
+++ b/hpack.cabal
@@ -3,7 +3,7 @@
 -- see: https://github.com/sol/hpack
 
 name:           hpack
-version:        0.3.0
+version:        0.3.1
 synopsis:       An alternative format for Haskell packages
 homepage:       https://github.com/sol/hpack#readme
 bug-reports:    https://github.com/sol/hpack/issues
@@ -61,7 +61,7 @@
     , yaml
 
     , hspec == 2.*
-    , mockery
+    , mockery >= 0.3
     , interpolate
   ghc-options: -Wall
   default-language: Haskell2010
diff --git a/test/Helper.hs b/test/Helper.hs
--- a/test/Helper.hs
+++ b/test/Helper.hs
@@ -2,16 +2,8 @@
   module Test.Hspec
 , module Test.Mockery.Directory
 , module Control.Applicative
-, touch
 ) where
 
 import           Test.Hspec
 import           Test.Mockery.Directory
 import           Control.Applicative
-import           System.Directory
-import           System.FilePath
-
-touch :: FilePath -> IO ()
-touch p = do
-  createDirectoryIfMissing True (takeDirectory p)
-  writeFile p ""
