Issue #6967 has been reported by Dan Bode.
----------------------------------------
Bug #6967: spec tests for puppet-interfaces does not work with 1.8.5
https://projects.puppetlabs.com/issues/6967
Author: Dan Bode
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords:
Branch:
it spits out tons of warning,
also, the method:
Dir.mktmpdir("puppetdir")
is not defined until 1.8.7
<pre>
[root@mypuppetmaster puppet-interfaces]# rspec spec
/usr/local/dev/puppet-interfaces/spec/unit/string_spec.rb:110: warning:
parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string_spec.rb:141: warning:
parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/shared_behaviours/things_that_declare_options.rb:5:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/shared_behaviours/things_that_declare_options.rb:15:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/shared_behaviours/things_that_declare_options.rb:44:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/shared_behaviours/things_that_declare_options.rb:53:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/shared_behaviours/things_that_declare_options.rb:64:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/shared_behaviours/things_that_declare_options.rb:82:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/shared_behaviours/things_that_declare_options.rb:88:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/shared_behaviours/things_that_declare_options.rb:94:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/action_manager_spec.rb:63:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/option_spec.rb:20: warning:
parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/option_spec.rb:27: warning:
parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/option_spec.rb:34: warning:
parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/option_spec.rb:39: warning:
parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/option_spec.rb:59: warning:
parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/action_spec.rb:99: warning:
parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/action_spec.rb:100: warning:
parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/action_spec.rb:136: warning:
parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/action_spec.rb:142: warning:
parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/action_spec.rb:147: warning:
parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/action_spec.rb:170: warning:
parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/option_builder_spec.rb:8:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/option_builder_spec.rb:17:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/option_builder_spec.rb:25:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/action_builder_spec.rb:46:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/action_builder_spec.rb:55:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/string_collection_spec.rb:54:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/string/string_collection_spec.rb:184:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/application/indirection_base_spec.rb:37:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/application/string_base_spec.rb:14:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/application/string_base_spec.rb:73:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/application/string_base_spec.rb:79:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/application/string_base_spec.rb:85:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/application/string_base_spec.rb:91:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/application/string_base_spec.rb:98:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/application/string_base_spec.rb:99:
warning: parenthesize argument(s) for future version
/usr/local/dev/puppet-interfaces/spec/unit/application/string_base_spec.rb:119:
warning: parenthesize argument(s) for future version
......*...............................................F.............................***..........................................................................................................FFF.......................F...FFFFFFFFFFFFFFF
An error occurred in an after(:all) hook.
TypeError: can't convert nil into String
occurred at /usr/lib/ruby/1.8/fileutils.rb:673:in `expand_path'
Pending:
Puppet::String should be able to load all actions in all search paths
# Not Yet Implemented
# ./spec/unit/string_spec.rb:83
Puppet::String[:facts, "0.0.1"] when uploading should set the terminus_class
to :facter
# Not Yet Implemented
# ./spec/unit/string/facts_spec.rb:15
Puppet::String[:facts, "0.0.1"] when uploading should set the cach_eclass to
:rest
# Not Yet Implemented
# ./spec/unit/string/facts_spec.rb:17
Puppet::String[:facts, "0.0.1"] when uploading should find the current
certname
# Not Yet Implemented
# ./spec/unit/string/facts_spec.rb:19
Failures:
1) Puppet::String[:configurer, "0.0.1"]#synchronize should retrieve and apply
a catalog and return a report
Failure/Error: dirname = Dir.mktmpdir("puppetdir")
NoMethodError:
undefined method `mktmpdir' for Dir:Class
# ./spec/unit/string/configurer_spec.rb:10
</pre>
--
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.