Re: [rspec-users] Fwd: Getting RSpec 1.1.4+ to Work with Autotest (ZenTest 3.10.0) on Windows (Win32)

2008-07-11 Thread Luis Lavena
On Fri, Jul 11, 2008 at 11:25 PM, Mark Wilden <[EMAIL PROTECTED]> wrote: > Rspactor is a great alternative to autotest if you're on a Mac. It uses the > OS to tell it when files have changed, instead of continually scanning the > project tree. That makes it faster and less of a burden on the system

[rspec-users] Fwd: Getting RSpec 1.1.4+ to Work with Autotest (ZenTest 3.10.0) on Windows (Win32)

2008-07-11 Thread Mark Wilden
Rspactor is a great alternative to autotest if you're on a Mac. It uses the OS to tell it when files have changed, instead of continually scanning the project tree. That makes it faster and less of a burden on the system. ///ark ___ rspec-users mailing l

Re: [rspec-users] How to stub forever?

2008-07-11 Thread Piotr Wlodarek
David Chelimsky wrote: > On 7/11/08, Piotr Wlodarek <[EMAIL PROTECTED]> wrote: >> >> How to stub a method for multiple calls? >> >> The calls are done in a loop. >> >> I expect: >> @agent.stub!( :submit ).multiple_times.and_return( @account_details_page >> ) >> ..to stub submit method "foreve

Re: [rspec-users] Getting RSpec 1.1.4+ to Work with Autotest (ZenTest 3.10.0) on Windows (Win32)

2008-07-11 Thread Luis Lavena
On Fri, Jul 11, 2008 at 8:33 PM, Charles Grindel <[EMAIL PROTECTED]> wrote: > Hi, > > After upgrading to Rails 2.1, RSpec 1.1.4+ and ZenTest 3.10.0, autotest > would no longer find any of my specs on my Windows development machine. > Some Googling directed me to a very recent update in the History.

[rspec-users] Getting RSpec 1.1.4+ to Work with Autotest (ZenTest 3.10.0) on Windows (Win32)

2008-07-11 Thread Charles Grindel
Hi, After upgrading to Rails 2.1, RSpec 1.1.4+ and ZenTest 3.10.0, autotest would no longer find any of my specs on my Windows development machine. Some Googling directed me to a very recent update in the History.txt file for rspec-fails: IMPORTANT: use 'script/autospec' (or just 'autospec' i

[rspec-users] rspec render :update

2008-07-11 Thread Reggie Mr.
Hi all, I'm having trouble with rspec 1.1.4 and rjs In the controller: render :update do |page| page << 'added text' end render :update do |page| page.replace_html :divid :partial => 'apartial' end spec: response.should have_rjs #this should be successful for any rjs re

Re: [rspec-users] Executing multiple rspec scripts

2008-07-11 Thread Robert Stagner
Actually, I'm a member of the QA team (limited development experience). So, we are attempting to use RSpec without rails. What is Rake? Near the end of your response, you list a way of running multiple spec files by creating a spec task. Since, I'm not a developer, could you please provide me wi

Re: [rspec-users] How to stub forever?

2008-07-11 Thread David Chelimsky
On 7/11/08, Piotr Wlodarek <[EMAIL PROTECTED]> wrote: > > How to stub a method for multiple calls? > > The calls are done in a loop. > > I expect: > @agent.stub!( :submit ).multiple_times.and_return( @account_details_page > ) > ..to stub submit method "forever" (any number of calls). Stubs w

[rspec-users] How to stub forever?

2008-07-11 Thread Piotr Wlodarek
How to stub a method for multiple calls? The calls are done in a loop. I expect: @agent.stub!( :submit ).multiple_times.and_return( @account_details_page ) ..to stub submit method "forever" (any number of calls). -- Posted via http://www.ruby-forum.com/.