Or what about test it with mocha? `action.expects(:action_subject).with(repository)`