Check out the different test runs...what am I doing wrong here? When using ruby 1.9.3, my test suite runs to completion without error but something after is blowing up. Something about test/unit but I'm not even including test/unit in my rails app. I appreciate any help!
You need to work on your googling skills ;)
Try adding a :require => false
to shoulda in your Gemfile:
gem "shoulda", :require => false
From this discussion .
如果您使用的是rspec而不是test :: unit,请用shoulda-matchers
替换gem shoulda
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.