Re: [Puppet-dev] [PATCH 2/3] Refactor #6044 -- require spec_helper with a consistent path.

2011-01-30 Thread Paul Nasrat
On 28 January 2011 18:44, Daniel Pittman dan...@puppetlabs.com wrote: From: Daniel Pittman dan...@rimspace.net Because we pull in spec_helper in individual tests, we need to use a consistent path or Ruby will evaluate it multiple times.  Make the path consistent by expanding it before

[Puppet-dev] [PATCH 2/3] Refactor #6044 -- require spec_helper with a consistent path.

2011-01-28 Thread Daniel Pittman
From: Daniel Pittman dan...@rimspace.net Because we pull in spec_helper in individual tests, we need to use a consistent path or Ruby will evaluate it multiple times. Make the path consistent by expanding it before require. --- spec/integration/facter.rb |2 +- spec/unit/facter.rb