class Shoulda::Matchers::ActiveModel::AllowValueMatcher::AttributeDoesNotExistError

@private

Attributes

attribute_name[RW]
model[RW]
value[RW]

Public Instance Methods

message() click to toggle source
# File lib/shoulda/matchers/active_model/allow_value_matcher/attribute_does_not_exist_error.rb, line 9
          def message
            Shoulda::Matchers.word_wrap <<-MESSAGE
The matcher attempted to set :#{attribute_name} on the #{model.name} to
#{value.inspect}, but that attribute does not exist.
            MESSAGE
          end
successful?() click to toggle source
# File lib/shoulda/matchers/active_model/allow_value_matcher/attribute_does_not_exist_error.rb, line 16
def successful?
  false
end