Has anyone used Minitest::Spec withing a Rails functional test?

前端 未结 2 1484
花落未央
花落未央 2021-02-15 22:03

The spec library in Minitest is great. I\'ve been able to use it within Rails unit tests no problem. However, Rails functional test inherit from ActionController::TestCase whi

2条回答
  •  情歌与酒
    2021-02-15 23:03

    Thoughtbot have now split shoulda into shoulda_contexts and shoulda_matchers so the worry about a shift to rspec for thoughtbot doesn't mean shoulda contexts are going away. Just being maintained in the community.

提交回复
热议问题