Rails 4 and RSpec, undefined method `assertions' in routing spec

前端 未结 1 462
不知归路
不知归路 2021-01-19 15:48

I\'m having what appears to be the same issue as undefined method `assertions' in routing spec but I\'m running Rails 4 and it is locked to minitest 5.0 or greater. Thus

1条回答
  •  野的像风
    2021-01-19 15:51

    This problem is caused by a change in minitest 5.0 documented here:

    # https://github.com/seattlerb/minitest/issues/286

    is fixed by using:

    gem "rspec-rails", '~> 2.14.0.rc1'
    

    in the gemfile.

    0 讨论(0)
提交回复
热议问题