7
我如何刪除test_unit生成器以使其從rails generate
列表中消失?Rails 4刪除測試生成器(尤其是test_unit)
我已經嘗試了一些並沒有爲我工作方式:
config.generators do |g|
g.test_framework nil
end
與-T
選項來創建應用程序。
我rails g
輸出:
[a lot of other generators skipped]
TestUnit:
test_unit:controller
test_unit:helper
test_unit:integration
test_unit:mailer
test_unit:model
test_unit:plugin
test_unit:scaffold
您能發佈您的發電機輸出嗎? – 2013-03-08 16:07:13
已更新。沒什麼特別的只是默認的test_unit生成器。 – freemanoid 2013-03-08 17:27:38