<span>Okay. Thanks for the help, guys. I'm back on track!</span><br><br><div class="gmail_quote">On Jan 13, 2008 10:33 PM, David Chelimsky <<a href="mailto:dchelimsky@gmail.com">dchelimsky@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Jan 13, 2008 9:14 PM, Corey Haines <<a href="mailto:coreyhaines@gmail.com">
coreyhaines@gmail.com</a>> wrote:<br>> Awesome! That worked perfectly, Nathan! Thanks.<br><br></div>There will soon (like in the next day or two I think) be a ZenTest<br>release which will make setting $VERBOSE obsolete. By default you
<br>won't get the Dunno messages, but you can choose to get them by<br>running autotest in verbose mode:<br><br>autotest -v<br><br>The benefit of doing that is it spots files that you may not have<br>spec'd that you want spec'd. On the flip side you end up with a bunch
<br>of noise but you can eliminate that w/ the :initialize hook:<br><br>Autotest.add_hook :initialize do |at|<br> at.add_exception 'some_file_i_want_ignored'<br>end<br><br>That goes in .autotest in the root of your project, where you type the
<br>autotest command.<br><br>HTH,<br><font color="#888888">David<br></font><div><div></div><div class="Wj3C7c"><br>><br>> -Corey<br>><br>><br>><br>> On Jan 13, 2008 10:11 PM, Nathan Sutton <<a href="mailto:nathan.sutton@gmail.com">
nathan.sutton@gmail.com</a>> wrote:<br>> ><br>> ><br>> ><br>> ><br>> > Set $VERBOSE=false in your .autotest file in your home directory.<br>> ><br>> ><br>> ><br>> >
<br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> > Nathan Sutton<br>> > <a href="mailto:fowlduck@gmail.com">fowlduck@gmail.com</a><br>> > rspec
1.1<br>> > rspec_on_rails 1.1<br>> > rails 2.0.2<br>> ><br>> ><br>> ><br>> ><br>> ><br>> > On Jan 13, 2008, at 9:10 PM, Corey Haines wrote:<br>> ><br>> ><br>> >
<br>> ><br>> > I get this<br>> ><br>> > Dunno! app/views/coupon/index.html.erb<br>> ><br>> ><br>> ><br>> ><br>> > On Jan 13, 2008 5:29 PM, Corey Haines < <a href="mailto:coreyhaines@gmail.com">
coreyhaines@gmail.com</a>> wrote:<br>> ><br>> > > Okay, thanks.<br>> > ><br>> > ><br>> > ><br>> > ><br>> > ><br>> > > On Jan 13, 2008 4:54 PM, David Chelimsky <
<a href="mailto:dchelimsky@gmail.com">dchelimsky@gmail.com</a>> wrote:<br>> > ><br>> > > ><br>> > > > On Jan 13, 2008 3:51 PM, Corey Haines <<a href="mailto:coreyhaines@gmail.com">coreyhaines@gmail.com
</a>> wrote:<br>> > > > > When I work with a .html.erb file, the autotest rspec on rails stuff<br>> doesn't<br>> > > > > understand the file to map it to the right test. I wanted to submit
<br>> a patch<br>> > > > > for this, but I'm unsure where the specs would be to update. I found<br>> the<br>> > > > > necessary mapping in rspec_autotest.rb, but I can't find any specs
<br>> anywhere.<br>> > > > > Help?<br>> > > > ><br>> > > > > I just need to have<br>> > > > > /app/views/coupon/index.html.erb to map to<br>> /spec/views/coupon/index_spec.rb
<br>> > > ><br>> > > > The right spec is index.html.erb_spec.rb - that's what the mapping is.<br>> > > > If you want to change the mapping locally, you can if you're using<br>> > > > rspec's trunk and a patched version of ZenTest (see
<br>> > > > <a href="http://rubyforge.org/pipermail/rspec-users/2008-January/005321.html" target="_blank">http://rubyforge.org/pipermail/rspec-users/2008-January/005321.html</a>).<br>> > > ><br>> > > > Cheers,
<br>> > > > David<br>> > > ><br>> > > ><br>> > > > ><br>> > > > > -Corey<br>> > > > ><br>> > > > > --<br>> > > > >
<a href="http://www.coreyhaines.com" target="_blank">http://www.coreyhaines.com</a><br>> > > > > The Internet's Premiere source of information about Corey Haines<br>> > > > > _______________________________________________
<br>> > > > > rspec-users mailing list<br>> > > > > <a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br>> > > > > <a href="http://rubyforge.org/mailman/listinfo/rspec-users" target="_blank">
http://rubyforge.org/mailman/listinfo/rspec-users</a><br>> > > > ><br>> > > > _______________________________________________<br>> > > > rspec-users mailing list<br>> > > >
<a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br>> > > > <a href="http://rubyforge.org/mailman/listinfo/rspec-users" target="_blank">http://rubyforge.org/mailman/listinfo/rspec-users
</a><br>> > > ><br>> > ><br>> > ><br>> > ><br>> > > --<br>> > ><br>> > ><br>> > ><br>> > > <a href="http://www.coreyhaines.com" target="_blank">
http://www.coreyhaines.com</a><br>> > > The Internet's Premiere source of information about Corey Haines<br>> ><br>> ><br>> ><br>> > --<br>> > <a href="http://www.coreyhaines.com" target="_blank">
http://www.coreyhaines.com</a><br>> > The Internet's Premiere source of information about Corey Haines<br>> _______________________________________________<br>> ><br>> > rspec-users mailing list<br>
> > <a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br>> > <a href="http://rubyforge.org/mailman/listinfo/rspec-users" target="_blank">http://rubyforge.org/mailman/listinfo/rspec-users
</a><br>> ><br>> > _______________________________________________<br>> ><br>> > rspec-users mailing list<br>> > <a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br>> >
<a href="http://rubyforge.org/mailman/listinfo/rspec-users" target="_blank">http://rubyforge.org/mailman/listinfo/rspec-users</a><br>> ><br>><br>><br>><br>><br>> --<br>> <a href="http://www.coreyhaines.com" target="_blank">
http://www.coreyhaines.com</a><br>> The Internet's Premiere source of information about Corey Haines<br>> _______________________________________________<br>> rspec-users mailing list<br>> <a href="mailto:rspec-users@rubyforge.org">
rspec-users@rubyforge.org</a><br>> <a href="http://rubyforge.org/mailman/listinfo/rspec-users" target="_blank">http://rubyforge.org/mailman/listinfo/rspec-users</a><br>><br>_______________________________________________
<br>rspec-users mailing list<br><a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/rspec-users" target="_blank">http://rubyforge.org/mailman/listinfo/rspec-users
</a><br></div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.coreyhaines.com">http://www.coreyhaines.com</a><br>The Internet's Premiere source of information about Corey Haines