[rspec-users] Expecting a block to return a specific value

2009-03-21 Thread Guilherme Machado Cirne
Hi, I have the following method in a Rails view helper: def title content_for(:title) do # some code which generates a title dynamically end end How can I spec that the code inside the block returns the correct title? TIA, -- Guilherme Machado Cirne gci...@gmail.com

Re: [rspec-users] Testing return value of a block argument

2009-03-21 Thread Guilherme Machado Cirne
I have this exact same problem. Anyone have a solution? TIA, -- Guilherme Machado Cirne gci...@gmail.com On Mon, Mar 16, 2009 at 8:00 AM, Yun Huang Yong wrote: > Hi, > > I'm using Log4r and one of its neat features is its handling of blocks such > that you can do: > lo

Re: [rspec-users] Cucumber and selenium grid

2009-03-03 Thread Guilherme Machado Cirne
Ok. How about the html report generation when running features in parallel? I don't suppose there would be a single merged html report, correct? Thanks, -- Guilherme Machado Cirne gci...@gmail.com On Fri, Feb 27, 2009 at 10:21 PM, Mike Gaffney wrote: > You can configure webra

[rspec-users] Cucumber and selenium grid

2009-02-27 Thread Guilherme Machado Cirne
Hi, Does anybody know how to integrate cucumber features with selenium grid? Actually, what is needed is to run cucumber features in parallel so that using selenium grid helps cut down on the total time it takes to run a test suite. Thanks, -- Guilherme Machado Cirne gci...@gmail.com