collectiveidea/audited — pull request #119 by nhance (2012-10-05 18:57:47+00:00)
Title: Adds Rspec matchers to spec test your audited models

The following matchers have been added:
* `be_audited`
* `have_associated_audits`

Usage:

Inside `spec_helper.rb` add the following:
```ruby
require 'audited-rspec'
```

Then use in your models like this:
```ruby
require 'spec_helper'

describe Company do
it { should be_audited }
it { should have_associated_audits }
end
```

```ruby
describe User do
it { should be_audited.associated_with(:company).except(:password) }
end
```

Closes reenhanced/audited#1

LGTM given by: @codenamev