Issue #3310 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 #3310: Unit tests error:test_userngroup: Global resource removal is 
deprecated
https://projects.puppetlabs.com/issues/3310#change-65927

Author: Mathias Gug
Status: Closed
Priority: Low
Assignee: 
Category: testing
Target version: 
Affected Puppet version: 0.25.4
Keywords: 
Branch: 


While running the puppet test suite on Ubuntu Lucid the following error was 
reported:

6) Error:
    test_userngroup(TestExec):
    RuntimeError: Global resource removal is deprecated
    /usr/lib/ruby/1.8/puppet/type.rb:941:in `clear'
    /usr/lib/ruby/1.8/puppet/metatype/manager.rb:13:in `allclear'
    /usr/lib/ruby/1.8/puppet/metatype/manager.rb:12:in `each'
    /usr/lib/ruby/1.8/puppet/metatype/manager.rb:12:in `allclear'
    ./ral/type/exec.rb:354:in `mknverify'
    ./ral/type/exec.rb:367:in `test_userngroup'
    ./ral/type/exec.rb:360:in `each'
    ./ral/type/exec.rb:360:in `test_userngroup'
    
/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