# File lib/shoulda/active_record/macros.rb, line 113 113: def should_have_readonly_attributes(*attributes) 114: get_options!(attributes) 115: 116: attributes.each do |attribute| 117: matcher = have_readonly_attribute(attribute) 118: should matcher.description do 119: assert_accepts matcher, subject 120: end 121: end 122: end