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

Corey Haines coreyhaines at gmail.com
Sun Jan 13 17:29:19 EST 2008


Okay, thanks.

On Jan 13, 2008 4:54 PM, David Chelimsky <dchelimsky at gmail.com> wrote:

> 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
> 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
> > rspec-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rspec-users
> >
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>



-- 
http://www.coreyhaines.com
The Internet's Premiere source of information about Corey Haines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080113/13cd0f98/attachment-0001.html 


More information about the rspec-users mailing list