| Module | Audited::RspecMatchers |
| In: |
lib/audited/rspec_matchers.rb
|
Ensure that the model is audited.
Options:
Example:
it { should be_audited }
it { should be_audited.associated_with(:user) }
it { should be_audited.only(:field_name) }
it { should be_audited.except(:password) }
it { should be_audited.requires_comment }
it { should be_audited.on(:create).associated_with(:user).except(:password) }