diff --git a/curlhs.cabal b/curlhs.cabal
--- a/curlhs.cabal
+++ b/curlhs.cabal
@@ -1,5 +1,5 @@
 name:          curlhs
-version:       0.1.4
+version:       0.1.5
 synopsis:      bindings to libcurl, the multiprotocol file transfer library
 homepage:      https://github.com/kkardzis/curlhs
 category:      Network
@@ -94,7 +94,7 @@
 -------------------------------------------------------------------------------
 test-suite hspec
   type:           exitcode-stdio-1.0
-  build-depends:  base==4.*, hspec==1.*, curlhs
+  build-depends:  base==4.*, hspec==2.*, curlhs
   ghc-options:    -Wall -fwarn-tabs
   main-is:        Spec.hs
   hs-source-dirs: test
diff --git a/test/Network/CURL720Spec.hs b/test/Network/CURL720Spec.hs
--- a/test/Network/CURL720Spec.hs
+++ b/test/Network/CURL720Spec.hs
@@ -24,7 +24,7 @@
 spec :: Spec
 spec = runIO (testlib CURL720) >>= \x -> case x of
   Left  xs -> it "cannot test this module" (pendingWith xs)
-  Right () -> before (loadlib CURL720) $ after (freelib CURL720) $ do
+  Right () -> before_ (loadlib CURL720) $ after_ (freelib CURL720) $ do
 
   ----------------------------
   describe "curl_version" $ do
diff --git a/test/Network/CURL730Spec.hs b/test/Network/CURL730Spec.hs
--- a/test/Network/CURL730Spec.hs
+++ b/test/Network/CURL730Spec.hs
@@ -24,7 +24,7 @@
 spec :: Spec
 spec = runIO (testlib CURL730) >>= \x -> case x of
   Left  xs -> it "cannot test this module" (pendingWith xs)
-  Right () -> before (loadlib CURL730) $ after (freelib CURL730) $ do
+  Right () -> before_ (loadlib CURL730) $ after_ (freelib CURL730) $ do
 
   ----------------------------
   describe "curl_version" $ do
