Please be sure to have Guard and Yeti installed before continue.
Install the gem:
$ gem install guard-yeti
Add it to your Gemfile (inside test group):
gem 'guard-yeti'
Add guard definition to your Guardfile with:
$ guard init yeti
Please read the Guard usage documentation.
Start the yeti server and open http://localhost:8000 in a browser
yeti --server
Please read Guard doc for more info about the Guardfile DSL.
guard 'yeti' do
watch(%r{^public/javascripts/(.*).js}) { |m| "public/javascripts/test/#{m[1]}_test.html" }
watch(%r{^public/javascripts/test/(.*).html})
end