1.保证安装了rspec,rspec-rails
2.安装ZenTest
3.创建并编辑~/.autotest
4.运行
2.安装ZenTest
sudo gem install ZenTest
3.创建并编辑~/.autotest
Autotest.add_hook :initialize do |at|
%w{.svn .hg .git vendor}.each {|exception| at.add_exception(exception)}
end
4.运行
script/autospec