Issue #3312 has been updated by Markus Roberts.

Category set to testing
Status changed from Unreviewed to Accepted
Priority changed from Normal to Low

Note that these are errors in the older unit tests not the current spec/unit 
tests.  The correct resolution is to bring the tests up to date (#2969).
----------------------------------------
Bug #3312: Unit tests error: test_correct_type_assumptions, test_paramblocks:  
undefined method `element'
http://projects.reductivelabs.com/issues/3312

Author: Mathias Gug
Status: Accepted
Priority: Low
Assigned to: 
Category: testing
Target version: 
Affected version: 0.25.4
Keywords: 
Branch: 


While running the puppet testsuite on Ubuntu Lucid the following errors were 
thrown:


 27) Error:
    test_correct_type_assumptions(TestSettings):
    NoMethodError: undefined method `element' for 
#<Puppet::Util::Settings:0x7f8c754bd9e0>
    ./util/settings.rb:486:in `test_correct_type_assumptions'
    ./util/settings.rb:471:in `each'
    ./util/settings.rb:471:in `test_correct_type_assumptions'
    
/usr/lib/ruby/1.8/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in
 `__send__'
    
/usr/lib/ruby/1.8/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in
 `run'

 30) Error:
    test_paramblocks(TestSettings):
    NoMethodError: undefined method `element' for 
#<Puppet::Util::Settings:0x7f8c753d3e80>
    ./util/settings.rb:532:in `test_paramblocks'
    
/usr/lib/ruby/1.8/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in
 `__send__'
    
/usr/lib/ruby/1.8/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in
 `run'



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to