Issue #3311 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 #3311: Unit tests error: test_modifyingfile: undefined method `alias='
https://projects.puppetlabs.com/issues/3311#change-65926

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


While trying to run the puppet test suite on Ubuntu Lucid the following error 
was thrown:

 16) Error:
    test_modifyingfile(TestParsedHostProvider):
    NoMethodError: undefined method `alias=' for 
#<Puppet::Type::Host::ProviderParsed:0x7f8c7550fb00>
    ./ral/providers/host/parsed.rb:62:in `send'
    ./ral/providers/host/parsed.rb:62:in `mkhost'
    ./ral/providers/host/parsed.rb:61:in `each'
    ./ral/providers/host/parsed.rb:61:in `mkhost'
    ./ral/providers/host/parsed.rb:192:in `test_modifyingfile'
    ./ral/providers/host/parsed.rb:191:in `times'
    ./ral/providers/host/parsed.rb:191:in `test_modifyingfile'
    
/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