[rspec-users] ZenTest autotest now handles RSpec, yay!

Matt Aimonetti matttemp at gmail.com
Fri Apr 13 02:31:04 EDT 2007

Josh Knowles http://joshknowles.com/ just let me know that ZenTest Autotest
3.50 now handles your RSpec specs.


That's a great news.

Josh also shared with me a quick hack to make autotest work with only the
RSpec plugin installed.

Add the following into your ~/.autotest file

Autotest.add_hook :initialize do |autotest|
  if autotest.is_a? RspecRailsAutotest
    autotest.spec_command = 'script/spec --options spec/spec.opts' if
File.exist? 'script/spec'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070412/33a787f2/attachment.html 

More information about the rspec-users mailing list