[rspec-users] Autospec Infinite Loop ??

Alexandre Da silva lists at ruby-forum.com
Tue Jun 9 23:27:18 EDT 2009

David Chelimsky wrote:
> On Mon, Apr 6, 2009 at 4:50 PM, Arco <akleak at gmail.com> wrote:
>> github.com/grosser/autotest/tree/master).
>> Is there a way to make autospec run just once if it sees a red
>> example?
>> I am using rspec 1.2.2, platform: cygwin - testing a standalone ruby
>> class.
> What's in your spec/spec.opts file?

I get the same behavior....
my spec/spec.opts contains:
--format progress
--loadby mtime

I can reproduce in a new project...

rails blog
cd blog/
script/generate rspec
script/generate rspec_scaffold posts title:string body:text
rm -rf test/
rake db:create:all
rake db:migrate
rake db:test:prepare

# posts generated in plural to get error at beginning

the loop runs forever

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list