Re: [rspec-users] RSpec uses at_exit - forks and stuff

2010-08-06 Thread Michael Guterl
Andrew, On Thu, Jul 8, 2010 at 7:47 AM, Andrew Premdas wrote: > > > On 8 July 2010 11:46, David Chelimsky wrote: >> >> On Jul 8, 2010, at 4:24 AM, Andrew Premdas wrote: >> >> On 8 July 2010 01:01, David Chelimsky wrote: >>> >>> On Jul 7, 2010, at 8:22 AM, Andrew Premdas wrote: >>> >>> > Hi ther

Re: [rspec-users] RSpec uses at_exit - forks and stuff

2010-07-08 Thread Andrew Premdas
On 8 July 2010 11:46, David Chelimsky wrote: > On Jul 8, 2010, at 4:24 AM, Andrew Premdas wrote: > > On 8 July 2010 01:01, David Chelimsky wrote: > >> On Jul 7, 2010, at 8:22 AM, Andrew Premdas wrote: >> >> > Hi there. >> > >> > My understanding (which is limited) is that rspec uses at_exit to r

Re: [rspec-users] RSpec uses at_exit - forks and stuff

2010-07-08 Thread David Chelimsky
On Jul 8, 2010, at 4:24 AM, Andrew Premdas wrote: > On 8 July 2010 01:01, David Chelimsky wrote: > On Jul 7, 2010, at 8:22 AM, Andrew Premdas wrote: > > > Hi there. > > > > My understanding (which is limited) is that rspec uses at_exit to run its > > specs. I don't really know why - could somoen

Re: [rspec-users] RSpec uses at_exit - forks and stuff

2010-07-08 Thread Andrew Premdas
On 8 July 2010 01:01, David Chelimsky wrote: > On Jul 7, 2010, at 8:22 AM, Andrew Premdas wrote: > > > Hi there. > > > > My understanding (which is limited) is that rspec uses at_exit to run its > specs. I don't really know why - could somoene explain? > > The initial motivation was that it makes

Re: [rspec-users] RSpec uses at_exit - forks and stuff

2010-07-07 Thread David Chelimsky
On Jul 7, 2010, at 8:22 AM, Andrew Premdas wrote: > Hi there. > > My understanding (which is limited) is that rspec uses at_exit to run its > specs. I don't really know why - could somoene explain? The initial motivation was that it makes it easy to make sure it works whether you run it with t

[rspec-users] RSpec uses at_exit - forks and stuff

2010-07-07 Thread Andrew Premdas
Hi there. My understanding (which is limited) is that rspec uses at_exit to run its specs. I don't really know why - could somoene explain? My problem with this behaviour is that I would like the running of a spec to start an instance of solr (using Sunspot) if one is not running. The problem wit