Class | ActiveRecord::Base |
In: |
lib/spec/rails/extensions/active_record/base.rb
|
Parent: | Object |
Extension for should have on AR Model instances
model.should have(:no).errors_on(:attribute) model.should have(1).error_on(:attribute) model.should have(n).errors_on(:attribute)