【发布时间】:2012-03-27 05:53:27
【问题描述】:
我正在阅读建议使用 rspec 的教程,但我已经完成了很多默认的 rails 安装。我真的不想重做安装。无论如何,当我跑步时
$ rails g integration_test named
我明白了
invoke test_unit
create test/integration/named_test.rb
当我运行bundle 时,会列出各种rspec gem,但不会列出test_unit。本教程似乎让 rails 调用 rspec 而不是 test_unit 而没有做任何额外的事情。如何让 Rails 使用 rspec 和集成测试生成器命令?
【问题讨论】:
标签: ruby-on-rails rspec gem testunit