class PluginAttributeUndefinedError

Attributes

desired_attribute[R]
plugin_attribute_data[R]

Public Class Methods

new(desired_attribute,plugin_attribute_data) click to toggle source
# File lib/chefspec/ohai.rb, line 273
def initialize(desired_attribute,plugin_attribute_data)
  @desired_attribute = desired_attribute
  @plugin_attribute_data = plugin_attribute_data

end

Public Instance Methods

message() click to toggle source
# File lib/chefspec/ohai.rb, line 281
    def message
      "Plugin does not define attribute path '#{desired_attribute}'. Does the definition or test have a misspelling? Does the plugin properly initialize the entire attribute path?

Plugin Attribute Data:
#{plugin_attribute_data.to_yaml}\n---"
    end