On Jan 13, 2008 3:51 PM, Corey Haines <[EMAIL PROTECTED]> 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
http://rubyforge.org/pipermail/rspec-users/2008-January/005321.html).

Cheers,
David

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

Reply via email to