Skip to content

Instantly share code, notes, and snippets.

@danielsdeleo
Created October 18, 2009 22:33
Show Gist options
  • Select an option

  • Save danielsdeleo/212891 to your computer and use it in GitHub Desktop.

Select an option

Save danielsdeleo/212891 to your computer and use it in GitHub Desktop.
1)
NoMethodError in 'Chef::Client when building a node and sucessfully getting node data from the server should add any json attributes to the node'
undefined method `has_key?' for "two":String
/Users/danielsdeleo/ruby/chef/chef/spec/../lib/chef/node/attribute.rb:354:in `auto_vivifiy'
/Users/danielsdeleo/ruby/chef/chef/spec/../lib/chef/node/attribute.rb:260:in `get_value'
/Users/danielsdeleo/ruby/chef/chef/spec/../lib/chef/node/attribute.rb:247:in `upto'
/Users/danielsdeleo/ruby/chef/chef/spec/../lib/chef/node/attribute.rb:247:in `get_value'
/Users/danielsdeleo/ruby/chef/chef/spec/../lib/chef/node/attribute.rb:84:in `attribute?'
/Users/danielsdeleo/ruby/chef/chef/spec/../lib/chef/node/attribute.rb:91:in `has_key?'
/Users/danielsdeleo/ruby/chef/chef/spec/../lib/chef/node/attribute.rb:379:in `value_or_descend'
/Users/danielsdeleo/ruby/chef/chef/spec/../lib/chef/node/attribute.rb:78:in `[]'
/Users/danielsdeleo/ruby/chef/chef/spec/../lib/chef/node/attribute.rb:415:in `method_missing'
/Users/danielsdeleo/ruby/chef/chef/spec/../lib/chef/node.rb:259:in `send'
/Users/danielsdeleo/ruby/chef/chef/spec/../lib/chef/node.rb:259:in `method_missing'
./spec/unit/client_spec.rb:203:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment