On Tue, Dec 2, 2008 at 12:12 PM, Mark Wilden <span dir="ltr"><<a href="mailto:mark@mwilden.com">mark@mwilden.com</a>></span> wrote:<br><div class="gmail_quote"><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 Tue, Dec 2, 2008 at 9:01 AM, Rick DeNatale <span dir="ltr"><<a href="mailto:rick.denatale@gmail.com" target="_blank">rick.denatale@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><div>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
$ autospec<br>loading autotest/rspec<br>/opt/local/bin/ruby -S spec/lib/v_date_time_property_spec.rb spec/lib/v_date_property_spec.rb spec/lib/v_property_spec.rb spec/lib/parser_spec.rb spec/lib/t_z_info_vtimezone_spec.rb <br>
spec/lib/v_date_time_property_spec.rb:8: warning: parenthesize argument(s) for future version<br>spec/lib/v_date_time_property_spec.rb:12: warning: parenthesize argument(s) for future version<br>spec/lib/v_date_time_property_spec.rb:4: undefined method `describe' for main:Object (NoMethodError)<br>
</blockquote></div><br></div>Are you requiring 'spec' anywhere?<br></blockquote><div><br>Adding require 'spec' at the top of the .autospec file doesn't change anything.<br><br>I didn't mention (this time) that the specs run fine if I use:<br>
<br> * cmd-R in Textmate to run them via the RSpec bundle.<br> * using rake spec<br> * individually using the spec command.<br><br>The problem seems to lie in something missing in the autotest/autospec setup. <br></div>
</div>-- <br>Rick DeNatale<br><br>My blog on Ruby<br><a href="http://talklikeaduck.denhaven2.com/">http://talklikeaduck.denhaven2.com/</a><br>