[rspec-users] Autotest RSpec Not Running on Model Save's?

Fischer, Daniel me at danielfischer.com
Tue Apr 8 21:20:46 EDT 2008


Yea a fix would be amazing. This is knda annoying because now I have to
press ctrl-c or something to run that spec.

On Sun, Apr 6, 2008 at 12:36 PM, Willem Källman <lists at ruby-forum.com>
wrote:

> Same problem here, but I guess it has nothing to do with RSpec or the
> fact that you are testing a model. Instead, Autotest seems to misbehave.
>
> Say we have a project directory with these contents:
> lib/script.rb
> spec/spec_script.rb
> spec/spec.opts
>
> The following is what Autotest does on my system:
> After running '$ autotest'
> and changing the contents of spec_script.rb, Autotest invokes
> /<path_to_ruby>/ruby -S /<path_to_rspec>/rspec-1.1.3/bin/spec -O
> spec/spec.opts  spec/spec_script.rb
> Which is perfectly fine.
> However, when I edit and save script.rb, Autotest will call 'spec'
> without specifying a file: /<path_to_ruby>/ruby -S
> /<path_to_rspec>/rspec-1.1.3/bin/spec -O
> Just as you described it.
>
> I'd really love to hear some ideas on how to fix this. Thank you!
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080408/bd6004ab/attachment.html 


More information about the rspec-users mailing list