【发布时间】:2013-04-15 22:21:04
【问题描述】:
我在我的 rails 项目的 Gemfile 中将 'shoulda-matchers' 从版本 1.4.2 更新到了 2.0.0,现在当我运行我的 rspec 测试时,它给了我以下错误
undefined method `assign_to' for #<RSpec::Core::ExampleGroup::Nested_4::Nested_1::Nested_4::Nested_1:0x007fc96eaaaf48>
在新的 2.0.0 版本中是否删除了此方法?
【问题讨论】:
标签: ruby-on-rails testing rspec gem shoulda