Yup ... was just about to respond.<br><br>A little more google finally turned up <a href="http://rspec.lighthouseapp.com/projects/5645/tickets/279-autotest-never-calls-the-red-hook">http://rspec.lighthouseapp.com/projects/5645/tickets/279-autotest-never-calls-the-red-hook</a><br>
<br>Thanks for the quick reply, David.<br><br><div class="gmail_quote">On Thu, Feb 28, 2008 at 3:12 PM, David Chelimsky &lt;<a href="mailto:dchelimsky@gmail.com">dchelimsky@gmail.com</a>&gt; 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 Thu, Feb 28, 2008 at 2:59 PM, Bryan Ray &lt;<a href="mailto:bryansray@gmail.com">bryansray@gmail.com</a>&gt; wrote:<br>
&gt; I&#39;m using rSpec 1.1.3 and ZenTest 3.9.1 and every time I run a test I get<br>
&gt; &quot;All Tests Passed&quot; ... perhaps I should just leave it that way? :p<br>
&gt;<br>
&gt; Anyways, I&#39;ve attempted to construct my own ~/.autotest file and it&#39;s<br>
&gt; extremely basic, but for some reason whenever I make one test fail (on<br>
&gt; purpose) it still kicks off the :green hook rather than the :red one ...<br>
<br>
</div>This is already fixed in trunk:<br>
<br>
svn checkout <a href="http://rspec.rubyforge.org/svn/trunk" target="_blank">http://rspec.rubyforge.org/svn/trunk</a><br>
or<br>
git clone git://gitorious.org/rspec/mainline.git<br>
<br>
If you&#39;re using git you have to clone the whole repo and copy over the plugins.<br>
<div class="Ih2E3d"><br>
&gt;<br>
&gt; Anybody have any ideas?<br>
&gt;<br>
&gt; # My ~/.autotest file<br>
&gt; require &#39;autotest/redgreen&#39;<br>
&gt;<br>
&gt; module Autotest::Growl<br>
&gt; &nbsp; def self.growl(title, msg, image=&quot;&quot;, priority=0, sticky=&quot;&quot;)<br>
&gt; &nbsp; &nbsp; &nbsp;system &quot;growlnotify -n autotest #{sticky} --priority #{priority}<br>
&gt; --message &#39;#{msg}&#39; &#39;#{title}&#39;&quot;<br>
&gt; &nbsp; end<br>
&gt;<br>
&gt; &nbsp; Autotest::add_hook :green do |at|<br>
&gt; &nbsp; &nbsp; growl &quot;Tests Passed!&quot;, &quot;All tests passed!&quot;<br>
&gt; &nbsp; &nbsp;end<br>
&gt;<br>
&gt; &nbsp; Autotest::add_hook :red do |at|<br>
&gt; &nbsp; &nbsp; growl &quot;Tests Failed!&quot;, &quot;Tests have failed!&quot;<br>
&gt; &nbsp; end<br>
&gt; end<br>
&gt;<br>
&gt; --<br>
&gt; Bryan Ray<br>
&gt; <a href="http://www.bryanray.net" target="_blank">http://www.bryanray.net</a><br>
&gt;<br>
&gt; &quot;Programming today is a race between software engineers striving to build<br>
&gt; bigger and better idiot-proof programs, and the Universe trying to produce<br>
&gt; bigger and better idiots. So far, the Universe is winning.&quot;<br>
</div>&gt; _______________________________________________<br>
&gt; &nbsp;rspec-users mailing list<br>
&gt; &nbsp;<a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br>
&gt; &nbsp;<a href="http://rubyforge.org/mailman/listinfo/rspec-users" target="_blank">http://rubyforge.org/mailman/listinfo/rspec-users</a><br>
&gt;<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>
</blockquote></div><br><br clear="all"><br>-- <br>Bryan Ray<br><a href="http://www.bryanray.net">http://www.bryanray.net</a><br><br>&quot;Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.&quot;