+1

On Apr 19, 2009, at 11:58 AM, Brice Figureau wrote:

>
> Since the introduction of fixing RSpec to 1.2.2, we don't
> support anymore running RSpec directly ala:
>
> ruby spec/unit/type.rb
> or
> spec/unit/type.rb
>
> This patch fixes this.
>
> Signed-off-by: Brice Figureau <[email protected]>
> ---
> spec/spec_helper.rb |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
> index e3afd6f..2f47d4f 100644
> --- a/spec/spec_helper.rb
> +++ b/spec/spec_helper.rb
> @@ -18,7 +18,7 @@ require 'puppettest'
> require 'puppettest/runnable_test'
> require 'mocha'
> gem 'rspec', '=1.2.2'
> -require 'spec'
> +require 'spec/autorun'
>
> # load any monkey-patches
> Dir["#{dir}/monkey_patches/*.rb"].map { |file| require file }
> --  
> 1.6.0.2
>
>
> >


-- 
Life is like playing a violin in public and learning the instrument as
one goes on. -- Samuel Butler
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to