stratosphere
stratosphere copied to clipboard
Add some integration tests that validate JSON output
@MichaelXavier recently found a pretty egregious bug where the JSON instances for the top-level fields weren't dropping enough characters. We should probably add some tests for that.
I'm thinking we should get rid of everything under examples/
and just make some simple hspec
tests that assert the JSON output of a Template
is equal to some aeson-qq
Value
.
myTemplate `shouldBe` [aesonQQ|
{
"Description": "blah"
"Resources": {
...
}
}
|]