adhearsion/adhearsion-asterisk — pull request #2 by taylor (2011-12-08 14:15:14+00:00)
Title: Feature/features conf

Code review requested and merge if ready.

Specs:

All test are passing.

I could not figure out how to remove the existing hack for not mocking Hash# with the test lambda so I just adjusted it to work with Mocha.

Code:

enable/disable_feature are dialplan methods.

I do not think extend_dynamic_features_with() should be defined as a normally seen method, but that seems to be the only way to make it available in the same namespace w/o some ugly direct Module/Class specification for the definition.