yesodweb/yesod — Issue #170: Mismatch between Yesod.Default and Scaffolded config/*.yml
Author: chreekat
Created: 2011-11-02 18:32:51+00:00
State: open

DefaultEnv has data constructor 'Testing', not 'Test', but config/*.yml refer to 'Test', not 'Testing'.

Current code elicits:

```
b@mysitetest:~/MySite$ ./dist/build/mysite/mysite -e test
mysite: Invalid environment: test
b@mysitetest:~/MySite$ ./dist/build/mysite/mysite -e testing
mysite: user error (Could not find environment: Testing)
```