[rspec-users] autotest only passing spec files to rspec once

Andy Orahood lists at ruby-forum.com
Fri Apr 11 11:16:02 EDT 2008

When I run autotest it works fine the first time, generating the command

/usr/bin/ruby1.8 -S script/spec -O spec/spec.opts
spec/models/timespan_spec.rb spec/models/article_spec.rb ... <rest of my
spec files>

and all my specs get run. After the first runthrough, however, autotest
pauses for a second and then, without me saving any files, generates
another command line without any of the spec files:

/usr/bin/ruby1.8 -S script/spec -O spec/spec.opts

Then whenever I save a file or its associated spec file autotest
produces this command line so no more specs get run until I press Ctrl-C
or stop and restart autotest, when it again generates the correct
command line with all the spec files included.

I have the Zentest gem 3.9.2 and the rspec gem 1.1.3, and the latest
rspec_on_rails and rspec plugins installed in my project. Does anyone
have any ideas why this is happening?

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list