eventsource-store-specs 1.2.0 → 1.2.1
raw patch · 4 files changed
+15/−3 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- eventsource-store-specs.cabal +2/−2
- library/Test/EventSource/Store/Specification.hs +8/−0
- package.yaml +1/−1
CHANGELOG.md view
@@ -1,3 +1,7 @@+1.2.1+=====+ * Require `readStream` to not panic if a non-existing stream is requested.+ 1.2.0 ===== * Migrate to `eventsource-api` 1.5.0.
eventsource-store-specs.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 9c8c101db53eaf1abae04a422e8fc481e8be4f1eb98149cbc6861a6020ea8343+-- hash: f5fa3e40181945c53b1751c4aa41d1c4ffd57f0332b935dd325e6317570538c5 name: eventsource-store-specs-version: 1.2.0+version: 1.2.1 synopsis: Provides common test specification for Store implementation. description: Provides common test specification for Store implementation. category: Eventsourcing, Testing
library/Test/EventSource/Store/Specification.hs view
@@ -113,6 +113,14 @@ decodeAs got `shouldBe` Right expected + specify "API - readStream should not panic if asking for a stream that doesn't exist" $ do+ name <- freshStreamName+ let stream = unhandled $ readStream store name defaultBatch++ Streaming.print stream++ True `shouldBe` True+ specify "API - Subscription working" $ do let expected = TestEvent 1 name <- freshStreamName
package.yaml view
@@ -30,4 +30,4 @@ maintainer: yo.eight@gmail.com name: eventsource-store-specs synopsis: Provides common test specification for Store implementation.-version: '1.2.0'+version: '1.2.1'