<br><br><div><span class="gmail_quote">On 3/28/07, <b class="gmail_sendername">Scott Taylor</b> <<a href="mailto:mailing_lists@railsnewbie.com">mailing_lists@railsnewbie.com</a>> wrote:</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I don't think the rspec_autotest even reads the options files. Look<br>at it's code:<br><br>class RspecAutotest < Autotest<br> attr_accessor :spec_command<br> def initialize # :nodoc:<br> @spec_command = "spec --diff unified"
<br> super<br> @exceptions = %r%^\./(?:coverage|doc)%<br> end<br> ....<br>end</blockquote><div><br><br>I replaced the default @spec_command with the following:<br><br>@spec_command = "#{RAILS_ROOT}/vendor/plugins/rspec/bin/spec --diff unified --options #{RAILS_ROOT}/spec/spec.opts"
<br><br>This allows me to run edge-rspec as well as use the options defined in my spec.opts file.<br><br>Josh<br></div><br></div><br><br clear="all"><br>-- <br>Josh Knowles<br><a href="mailto:joshknowles@gmail.com">joshknowles@gmail.com
</a><br><a href="http://joshknowles.com">http://joshknowles.com</a>