[rspec-users] Retrying specs
samer.masry at gmail.com
Wed May 9 05:15:07 UTC 2012
Forgot to respond back. I was able to reset the factory girl sequence by calling FactoryGirl.reload in a before callback and ditched the retry which solved my problem.
On May 8, 2012, at 10:00 PM, David Chelimsky wrote:
> On Tue, May 8, 2012 at 12:55 PM, Samer Masry <samer.masry at gmail.com> wrote:
>> Is it possible to run an example without displaying it's
>> status ...F...
> The 'F' comes from the ProgressFormatter. You could write your own
> custom formatter.
>> I'm currently using an around(:each) to run the spec and passing the
>> example block into vcr however occasionally the cassette needs to be
>> rerecorded. I'd like to delay recording it as an error until it has been
>> retried. Is that possible currently in rspec?
> You could probably hack something together but rspec doesn't support
> any notion of retry explicitly. Feel free to submit a feature request
> to https://github.com/rspec/rspec-core/issues and we can discuss it
>> DryBlis - www.dryblis.com
>> Samer Masry | Rails Programmer
>> 11 Ambler Ln, Emeryville, CA 94608
>> Tel.:510-991-7523 | Cel.: 714-814-8508
>> rspec-users mailing list
>> rspec-users at rubyforge.org
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users