diff --git a/hspec-wai-json.cabal b/hspec-wai-json.cabal
--- a/hspec-wai-json.cabal
+++ b/hspec-wai-json.cabal
@@ -1,62 +1,62 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.34.2.
+-- This file has been generated from package.yaml by hpack version 0.38.3.
 --
 -- see: https://github.com/sol/hpack
---
--- hash: 3a831056a1e1308791d1246512f15913cfee8331e04e4037f041fdfc1800290b
 
-name:             hspec-wai-json
-version:          0.11.0
-homepage:         https://github.com/hspec/hspec-wai#readme
-bug-reports:      https://github.com/hspec/hspec-wai/issues
-license:          MIT
-license-file:     LICENSE
-copyright:        (c) 2012-2014 Fujimura Daisuke,
-                  (c) 2014-2018 Simon Hengel
-author:           Fujimura Daisuke <me@fujimuradaisuke.com>,
-                  Simon Hengel <sol@typeful.net>
-maintainer:       Fujimura Daisuke <me@fujimuradaisuke.com>,
-                  Simon Hengel <sol@typeful.net>
-build-type:       Simple
-category:         Testing
-synopsis:         Testing JSON APIs with hspec-wai
-description:      Testing JSON APIs with hspec-wai
+name:           hspec-wai-json
+version:        0.12.0
+synopsis:       Testing JSON APIs with hspec-wai
+description:    Testing JSON APIs with hspec-wai
+category:       Testing
+homepage:       https://github.com/hspec/hspec-wai#readme
+bug-reports:    https://github.com/hspec/hspec-wai/issues
+author:         Fujimura Daisuke <me@fujimuradaisuke.com>,
+                Simon Hengel <sol@typeful.net>
+maintainer:     Fujimura Daisuke <me@fujimuradaisuke.com>,
+                Simon Hengel <sol@typeful.net>
+copyright:      (c) 2012-2014 Fujimura Daisuke,
+                (c) 2014-2018 Simon Hengel
+license:        MIT
+license-file:   LICENSE
+build-type:     Simple
 
 source-repository head
   type: git
   location: https://github.com/hspec/hspec-wai
 
 library
-  hs-source-dirs:
-      src
   exposed-modules:
       Test.Hspec.Wai.JSON
   other-modules:
       Paths_hspec_wai_json
+  hs-source-dirs:
+      src
+  ghc-options: -Wall
   build-depends:
       aeson
     , aeson-qq >=0.7.3
     , base ==4.*
     , bytestring
     , case-insensitive
-    , hspec-wai ==0.11.0
+    , hspec-wai ==0.12.0
     , template-haskell
-  ghc-options: -Wall
   default-language: Haskell2010
 
 test-suite spec
   type: exitcode-stdio-1.0
-  hs-source-dirs:
-      test
   main-is: Spec.hs
   other-modules:
       Test.Hspec.Wai.JSONSpec
       Paths_hspec_wai_json
+  hs-source-dirs:
+      test
+  ghc-options: -Wall
+  build-tool-depends:
+      hspec-discover:hspec-discover
   build-depends:
       base ==4.*
     , hspec
     , hspec-wai
     , hspec-wai-json
-  ghc-options: -Wall
   default-language: Haskell2010
diff --git a/test/Test/Hspec/Wai/JSONSpec.hs b/test/Test/Hspec/Wai/JSONSpec.hs
--- a/test/Test/Hspec/Wai/JSONSpec.hs
+++ b/test/Test/Hspec/Wai/JSONSpec.hs
@@ -1,6 +1,7 @@
 {-# LANGUAGE QuasiQuotes #-}
 {-# LANGUAGE OverloadedStrings #-}
 {-# LANGUAGE NoMonomorphismRestriction #-}
+{-# OPTIONS_GHC -fno-warn-incomplete-uni-patterns #-}
 module Test.Hspec.Wai.JSONSpec (main, spec) where
 
 import           Test.Hspec
