packages feed

postgrest-0.4.0.0: test/Feature/ProxySpec.hs

module Feature.ProxySpec where

import Test.Hspec hiding (pendingWith)

import SpecHelper

import Network.Wai (Application)

import Protolude hiding (get)

spec :: SpecWith Application
spec =
  describe "GET / with proxy" $
    it "returns a valid openapi spec with proxy" $
      validateOpenApiResponse [("Accept", "application/openapi+json")]