Issue #3312 has been updated by Josh Cooper.

Status changed from Accepted to Closed

All of the old unit tests were deleted or converted to spec tests in #2969, so 
this is no longer an issue.
----------------------------------------
Bug #3312: Unit tests error: test_correct_type_assumptions, test_paramblocks:  
undefined method `element'
https://projects.puppetlabs.com/issues/3312#change-65925

Author: Mathias Gug
Status: Closed
Priority: Low
Assignee: 
Category: testing
Target version: 
Affected Puppet 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://projects.puppetlabs.com/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