module Shoulda::ActiveRecord::Matchers

def have_readonly_attribute(value)


it { should have_readonly_attributes(:password) }

created.
Ensures that the attribute cannot be changed once the record has been
def have_readonly_attribute(value)
  HaveReadonlyAttributeMatcher.new(value)
end