[rspec-users] A puzzling spec failure in a shared describe

2007-09-11 Thread Mark Van De Vyver
Hi, Thanks for all the effort that has gone into making RSpec available. I'm not a professional developer and I've found the approach articulated has helped me a lot in writing my code, and understanding that of others. To cut my teeth, I'm trying to write an db adapter for the og project. I've b

Re: [rspec-users] A puzzling spec failure in a shared describe

2007-09-12 Thread Mark Van De Vyver
mocking. If you > want/need to use another mocking framework, I know that Mocha and RSpec play > well. Not sure about FlexMock. Thanks Chris that is good to know. Regards Mark > > Chris Pratt > > > > On 9/11/07, Mark Van De Vyver <[EMAIL PROTECTED]> wrote: > > >

Re: [rspec-users] [ANN] rspec_todo -- spec'ing backwards

2007-09-16 Thread Mark Van De Vyver
Hi, On 9/17/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > On 9/16/07, s.ross <[EMAIL PROTECTED]> wrote: > > While the spirit of BDD is to spec first and code second, many of us > > have legacy code. Worse, some of us have legacy code without very > > good coverage. Recognizing that *I* have such

Re: [rspec-users] Standardize environment between specs containing class defs

2007-10-04 Thread Mark Van De Vyver
On 9/21/07, Dan North <[EMAIL PROTECTED]> wrote: > > Although it would be nice (and not too difficult) to have the example > runner intercept any class creation (and perhaps other global/constant > definitions) and undef them after each example. > > It certainly seems reasonable to have any defin

[rspec-users] describe scope

2007-11-21 Thread Mark Van De Vyver
Hi, Googling 'RSpec describe scope' didn't yield much, so apologies if this question has been dealt with. It seem well known that a ruby class is 'visible' between describes, and if this is a problem then you should use some counter as prefix or suffix: 'class Item_001; ... end' Is there any work

Re: [rspec-users] describe scope

2007-11-21 Thread Mark Van De Vyver
Hi, Thanks for the prompt responses... On Nov 22, 2007 1:18 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Nov 21, 2007 1:07 AM, Mark Van De Vyver <[EMAIL PROTECTED]> wrote: > > Hi, > > Googling 'RSpec describe scope' didn't yield much, so apologie

Re: [rspec-users] describe scope

2007-11-21 Thread Mark Van De Vyver
On Nov 22, 2007 8:53 AM, Mark Van De Vyver <[EMAIL PROTECTED]> wrote: > Hi, > Thanks for the prompt responses... > > On Nov 22, 2007 1:18 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > > On Nov 21, 2007 1:07 AM, Mark Van De Vyver <[EMAIL PROTECTED]> wr

Re: [rspec-users] describe scope

2007-11-21 Thread Mark Van De Vyver
On Nov 22, 2007 9:01 AM, aslak hellesoy <[EMAIL PROTECTED]> wrote: > On 11/21/07, Mark Van De Vyver <[EMAIL PROTECTED]> wrote: > > Hi, > > Thanks for the prompt responses... > > > > On Nov 22, 2007 1:18 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: >