How do you correctly test that an error is raised in Rails?

后端 未结 0 1497
温柔的废话
温柔的废话 2020-12-01 22:02

I\'m testing an Interactor in Rails with assert_raise and I\'m passing arguments to it that should not raise an error.

However, the assert_raise

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