marionettejs/backbone.marionette — pull request #1216 by jasonLaster (2014-04-22 02:04:04+00:00)
Title: Improve Child Behavior test to check invokation count

Now that behaviors can have child behaviors, it's possible that a `Marionette.Behaviors` can be called multiple times for the same view: once for the view's behaviors and once for each of its behaviors child behaviors.

With this new "behavior", it's important to check that a views wrapped functions and callbacks are only called once.