Please review pull request #54: Remove empty Puppet class definition opened by (haus)

Description:

As the puppet hiera functions have been merged into hiera, the Functions class
no longer needs to be predefined in the spec_helper class and causes test
failures. As it is no longer needed, this commit removes it from
spec_helper.rb.

  • Opened: Tue May 15 06:44:32 UTC 2012
  • Based on: puppetlabs:1.0rc (361dfc60892aa534c536c9feffb1be06caa8e8ca)
  • Requested merge: haus:fix_functions_spec_failure (fe3d5090f264ffb2f6486d0e4b60ba051570387c)

Diff follows:

diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 2fea865..33893d5 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -10,13 +10,6 @@
   config.mock_with :mocha
 end
 
-class Puppet
-  class Parser
-    class Functions
-    end
-  end
-end
-
 # In ruby 1.8.5 Dir does not have mktmpdir defined, so this monkey patches
 # Dir to include the 1.8.7 definition of that method if it isn't already defined.
 # Method definition borrowed from ruby-1.8.7-p357/lib/ruby/1.8/tmpdir.rb

    

--
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