Closed pbrisbin closed 9 years ago
Looks good. I don't have time to try out a sandbox rebuild right now, though, so I haven't tested it locally.
I'm going to go ahead with this as the hspec-2.0 failure I ran into (and hopefully resolved) seems to be affecting anyone building from scratch.
This requires a few cabal steps that everyone will have to do once merged:
As usual, blowing away your sandbox should also work.
I also ran into a weird error with the test suite: hspec and hspec-core were mismatched versions which didn't play nice. I don't know exactly how this happened, but I decided the best thing to do was to update hspec to match hspec-core. This update is why the after/before hook functions changed.
I had to do the following:
But everyone else should not. Now that this lower bound is in the cabal file, the
cabal install
needed to updateyesod-core
should also bring in this newhspec
.If folks could pull down this PR and attempt these steps ahead of time, I could help out with any issues and put whatever fixes are possible* into this PR rather than waiting and fixing master.
*This is made more difficult because
cabal freeze
doesn't include the test dependencies -- that feature is coming though.