[rspec-users] autotest displays no output

2007-10-31 Thread pangel
Hey, I'm trying to configure autotest with rspec on cygwin but something is going wrong. I made a very simple testing environment with a user.rb and user_spec.rb file. Rspec works fine, but autotest outputs nothing - it just stays here, idle. ^C doesn't display anything more. I can see it's runn

Re: [rspec-users] autotest displays no output

2007-10-31 Thread pangel
of the ruby executable. > def ruby > ruby = File.join(Config::CONFIG['bindir'], > Config::CONFIG['ruby_install_name']) > > return ruby > end > > and then autotest will be able to find your ruby executable. > > Note that I

Re: [rspec-users] autotest displays no output

2007-10-31 Thread pangel
ou can just remove that file :) > >> and try again. You need to do this with native windows >> but not sure about cygwin. >> >> Worth a try. >> >> >> >> On 10/31/07, David Chelimsky <[EMAIL PROTECTED]> wrote: >> > On Oct 31, 20

Re: [rspec-users] autotest displays no output

2007-10-31 Thread pangel
your questions: - I tried rake spec but it says 'rake aborted, no rake file found, etc...'. I googled quite a bit but I really have no idea what code I should but in rakefile.rb. - yes, I installed all my gems from cygwin. - I simply go into rspec_user/ and type "autotest"

[rspec-users] Can't use #exactly when #and_return influences it.

2007-11-01 Thread pangel
I want my class Reader to loop on the content of its Stack until false is returned. I also want an optional argument to exist that limits how many times the stack will be read, even if some elements are left. I was trying to spec this last bit but ended up on a false positive. Hope the example w

Re: [rspec-users] Can't use #exactly when #and_return influences it.

2007-11-01 Thread pangel
situations. I'm quite a beginner in both ruby and TDD/BDD concepts so I feel like there's a lot I just don't have a full grasp on anyway. Regarding my specs do you think I should structure the whole thing differently? David Chelimsky-2 wrote: > > On Nov 1, 2007 5:26 AM, p