class Shoulda::ActiveRecord::Matchers::AllowMassAssignmentOfMatcher

def attr_mass_assignable?

def attr_mass_assignable?
  if whitelisting?
    accessible_attributes.include?(@attribute)
  else
    !protected_attributes.include?(@attribute)
  end
end