MiniTest::Assertion: StandardError expected but nothing was raised

后端 未结 0 923
一向
一向 2020-12-18 05:04

I am using minitest for tests for my ruby on rails. I have a problem in it, what I was try to do was stubbing a method to return exception. And check if exception raises.

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