How do I mock a method in a controller test that is defined in the inherited BaseController using Mocha?

前端 未结 0 332
北海茫月
北海茫月 2020-12-05 03:10

My BaseController is inherited by SomeController.

When I run this test I get a failure, it expects a successful response but gets a redirect

相关标签:
回答
  • 消灭零回复
提交回复
热议问题