On Thu, Feb 14, 2008 at 7:57 PM, Kamal Fariz <[EMAIL PROTECTED]> wrote:
> > Same thing happening here, though I didn't recognize that it's only
> > after failures. The problem continues whether I use .autotest files or
> > not.
> >
> > This is on a Rails 2.0.2 project, with rspec+rspec_on_rails r3306 in
> > vendor/plugins, and ZenTest 3.9.1 installed as a gem.
>
>
> I got this too, but didn't bother to find out where and how script/
> spec would sneak into the list of files to test. I got this even if i
> explicitly exclude the file in my .autotest.
>
> The quick and dirty thing I did was:
>
> def make_test_cmd(files_to_test)
> return "#{ruby} -S #{spec_command} #{add_options_if_present}
> #{files_to_test.keys.flatten.select { |i| i != 'script/spec' }.join('
> ')}"
> end
>
> in vendor/plugins/rspec/lib/autotest/rspec.rb
Thanks for the workaround.
Looking into fixing this for real.
>
> Regards,
> Kamal
>
>
>
> _______________________________________________
> rspec-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users