[rspec-users] .html.erb files and autotest

David Chelimsky dchelimsky at gmail.com
Sun Jan 13 16:54:32 EST 2008

On Jan 13, 2008 3:51 PM, Corey Haines <coreyhaines at gmail.com> wrote:
> When I work with a .html.erb file, the autotest rspec on rails stuff doesn't
> understand the file to map it to the right test. I wanted to submit a patch
> for this, but I'm unsure where the specs would be to update. I found the
> necessary mapping in rspec_autotest.rb, but I can't find any specs anywhere.
> Help?
> I just need to have
> /app/views/coupon/index.html.erb to map to /spec/views/coupon/index_spec.rb

The right spec is index.html.erb_spec.rb - that's what the mapping is.
If you want to change the mapping locally, you can if you're using
rspec's trunk and a patched version of ZenTest (see


> -Corey
> --
> http://www.coreyhaines.com
> The Internet's Premiere source of information about Corey Haines
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list