Ember Unit test an action that sends another action


#1

I have an action in my component that sends another action (bubbling it up) ie:

actions: {
     open: function() {
            this.sendAction('renderNewThing');
}

how can I write a unit test for this so that it shows as covered in my code coverage (I am using sinon to spy on actions)? (I’m using ember-cli-code-coverage)

thanks!