[Bug 528817] [NEW] Unit tests error: test_correct_type_assumptions, test_paramblocks: undefined method `element'

Mathias Gug mathiaz at ubuntu.com
Sat Feb 27 02:30:42 GMT 2010


Public bug reported:

Binary package hint: puppet

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'

http://projects.reductivelabs.com/issues/3312

** Affects: puppet
     Importance: Undecided
         Status: New

** Affects: puppet (Ubuntu)
     Importance: Medium
         Status: Triaged

** Changed in: puppet (Ubuntu)
       Status: New => Triaged

** Changed in: puppet (Ubuntu)
   Importance: Undecided => Medium

** Also affects: puppet
   Importance: Undecided
       Status: New

-- 
Unit tests error: test_correct_type_assumptions, test_paramblocks: undefined method `element'
https://bugs.launchpad.net/bugs/528817
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to puppet in ubuntu.



More information about the Ubuntu-server-bugs mailing list