packages feed

web3-0.7.0.0: unit/Network/Ethereum/Web3/Test/MethodDumpSpec.hs

{-# LANGUAGE QuasiQuotes #-}

module Network.Ethereum.Web3.Test.MethodDumpSpec where

import           Network.Ethereum.Contract.TH
import           Test.Hspec
import           Text.Printf


spec :: Spec
spec = describe "methodDump" $
    it "can dump an ABI" $  do
        let theApiDump = [abiFrom|examples/ERC20.json|]
         in theApiDump `shouldNotBe` ""