[rspec-users] autotest bug?
dchelimsky at gmail.com
Fri Jun 8 12:40:40 EDT 2007
On 6/8/07, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
> On Jun 8, 2007, at 8:48 AM, Wincent Colaiuta wrote:
> > El 8/6/2007, a las 14:09, Scott Taylor escribió:
> >> On Jun 8, 2007, at 4:01 AM, Wincent Colaiuta wrote:
> >>> Have you removed these lines from your spec/spec.opts file (no
> >>> longer
> >>> necessary)?
> >>> --format
> >>> failing_examples:previous_failures.txt
> >>> --example
> >>> previous_failures.txt
> >> In what revision did that change?! Is this applicable only to
> >> rspec_on_rails, or to rspec generally?
> > I don't remember which exact revision, but I was seeing the exact
> > same problem until David set me straight in this post <http://
> > rubyforge.org/pipermail/rspec-users/2007-May/001650.html>:
> >> These lines configure rspec to limit the number of files that get run
> >> when there are failures, but autotest is doing the same thing so
> >> there
> >> is no need.
> > I believe that file is specific to rspec_on_rails, in any case.
> > For the record, when working in a Rails app, each time you do arspec/
> > rspec_on_rails plugin update I think you should probably run "script/
> > generate rspec" from the top level of your app; if it tells you that
> > spec/spec.opts has been modified then you can hit the "d" key to see
> > a diff of exactly what's changed... In one of the recent RSpec
> > updates, they dropped those lines from spec/spec.opts.
> Ah - that diff is very helpful. I had no idea.
I did blog about it a while back:
I'll also add it to the upgrade page http://rspec.rubyforge.org/upgrade.html
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users