Issue #3308 has been updated by Mathias Gug.
Now that the test is supposed to be converted to spec/ unit tests, it fails
with the following error:
2) Error:
test_data(TestCronParsedProvider):
Puppet::DevError: No fakedata matching
/usr/share/test/data/providers/cron/examples/*
/usr/share/puppet-testsuite/lib/puppettest/support/utils.rb:160:in
`fakedata'
./ral/providers/cron/crontab.rb:491:in `test_data'
/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'
----------------------------------------
Bug #3308: Unit tests failing: NoMethodError: undefined method `fakedata' for
http://projects.puppetlabs.com/issues/3308
Author: Mathias Gug
Status: Accepted
Priority: Low
Assigned to:
Category: testing
Target version:
Affected version: 0.25.4
Keywords:
Branch:
While trying to run the puppet testsuite on Ubuntu Lucid the following error
was thrown:
2) Error:
test_data(TestCronParsedProvider):
NoMethodError: undefined method `fakedata' for
#<TestCronParsedProvider:0x7f8c7903a770>
./ral/providers/cron/crontab.rb:491:in `test_data'
/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'
There are other similar errors in the log. I've attached the complete log.
To reproduce:
1. Install the puppet-testsuite package on Ubuntu Lucid
2. cd /usr/share/puppet-testsuite/
3. sudo rake
--
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.