On 12/30/06, <b class="gmail_sendername">Daniel Manges</b> <<a href="mailto:daniel.manges@gmail.com">daniel.manges@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In my opinion the rspec_autotest plugin needs quite a bit of work. At a minimum it should be using the Inflector for pluralization.<br>Example from current revision (r47):<br><pre>def tests_for_file(filename)<br> case filename
<br><br> when %r%^spec/fixtures/(.*)s.yml% then<br> ["spec/models/#{$1}_spec.rb",<br> "spec/controllers/#{$1}_controller_spec.rb"]</pre>If I have a model City with fixtures cities.yml, rspec_autotest is going to try to run spec/models/citie_spec.rb and spec/controllers/citie_controller_spec.rb
<br><br>Nick, do you have plans on improving this?</blockquote><div><br>Well, it certainly can be done. Any chance you can email me a patch against the latest rev at [1]?<br><br>[1] <a href="http://svn.caldersphere.net/svn/main/rspec_autotest/trunk/lib/rspec_autotest.rb">
http://svn.caldersphere.net/svn/main/rspec_autotest/trunk/lib/rspec_autotest.rb</a><br><br><br>/Nick</div></div>