Issue #3407 has been reported by Jesse Wolfe.
----------------------------------------
Bug #3407: Failing tests in spec/unit/node/environment.rb
http://projects.reductivelabs.com/issues/3407
Author: Jesse Wolfe
Status: Accepted
Priority: Normal
Assigned to: Jesse Wolfe
Category:
Target version:
Affected version: development
Keywords:
Branch:
Puppet::Node::Environment when modeling a specific environment.modules
- should return a module named for every directory in each module path (FAILED
- 1)
- should remove duplicates (FAILED - 2)
1)
'Puppet::Node::Environment when modeling a specific environment.modules should
return a module named for every directory in each module path' FAILED
expected: ["bar", "baz", "bee", "foo"],
got: [] (using ==)
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in
`fail_with'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:39:in
`fail_with_message'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:61:in
`__delegate_operator'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:51:in
`eval_match'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:29:in
`=='
./spec/unit/node/environment.rb:146:
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in
`instance_eval'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in
`execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in
`execute'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
`each'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in
`run'
/home/jes5199/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/jes5199/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/jes5199/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:
2)
'Puppet::Node::Environment when modeling a specific environment.modules should
remove duplicates' FAILED
expected: ["foo"],
got: [] (using ==)
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in
`fail_with'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:39:in
`fail_with_message'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:61:in
`__delegate_operator'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:51:in
`eval_match'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/matchers/operator_matcher.rb:29:in
`=='
./spec/unit/node/environment.rb:155:
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in
`instance_eval'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in
`execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in
`execute'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
`each'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in
`run'
/home/jes5199/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/jes5199/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/jes5199/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:
--
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://reductivelabs.com/redmine/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.