When running the default Rake task, the Sprockets environment (set in teaspoon/suite.rb) is an instance of Sprockets::Index, but the Instrumentation code is only included in Sprockets::Environment. By adding the module to both, coverage will run regardless of how it is called.
Coverage remained the same when pulling e2a51f48cda5f007758d9708e78461bb4d5d179d on tpbowden:master into 9e022e7012234feb72233e889d03569b9e413889 on modeset:master.
When running the default Rake task, the Sprockets environment (set in teaspoon/suite.rb) is an instance of
Sprockets::Index
, but the Instrumentation code is only included inSprockets::Environment
. By adding the module to both, coverage will run regardless of how it is called.