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

Marcus Ahnve marcus at ahnve.com
Tue Apr 17 07:04:06 EDT 2007


On 4/13/07, Matt Aimonetti <matttemp at gmail.com> wrote:
>
> Josh Knowles http://joshknowles.com/ just let me know that ZenTest Autotest
> 3.50 now handles your RSpec specs.

It seems that autotest assumes you are using integrated views specs.

I've changed my rspec_rails_autotest.rb accordingly to run view specs
automatically:

    # when %r%^app/views/layouts/(.*)\.rhtml% then
    #   ["spec/views/layouts/#{$1}_spec.rb"]
    when %r%^app/views/(.*)\.rhtml$% then
      ["spec/views/#{$1}_view_spec.rb"]

/Marcus


More information about the rspec-users mailing list