mgsnova/feature — pull request #2 by benjaminoakes (2012-03-09 20:46:13+00:00)
Title: Fix bug "undefined method `values' for nil:NilClass"

This was causing a problem for us today. Basically, when you've cleared out all of your feature toggles, you'll get an exception.

The error was: `NoMethodError: undefined method 'values' for nil:NilClass`

New specs:

Feature::Repository::YamlRepository
proper config file
with no features
should read active features new on each request