mislav/choices — pull request #11 by pothibo (2013-07-17 23:42:59+00:00)
Title: Environment error

Currently, choices silently parse the YAML file even if the current environment is not specified in the file.

In a test environment, it starts by calling schema.db from the development environment and then switch to the test one. The stack trace is not obvious and can lead to confusion. Raising an error if the environment is unspecified fixes that.