autotestからautospecへ。

rspec-railsプラグインが入っていてもtestが走ってしまうなーと思ったら
rspec-rails/History.txt

 20 === Version 1.1.5 / 2008-09-28
21
22 IMPORTANT: use 'script/autospec' (or just 'autospec' if you have the rspec gem
23 installed) instead of 'autotest'. We changed the way autotest discovers rspec
24 so the autotest executable won't automatically load rspec anymore. This allows
25 rspec to live side by side other spec frameworks without always co-opting
26 autotest through autotest's discovery mechanism.

こういうことらしいです。ソースの前にドキュメントを読むんだった。
ちなみにAutotest::Screenはそのままで問題ないみたい。

これでautotestとautospecが同時に・・・。

タイトルとURLをコピーしました