pivotal/sunspot_matchers — pull request #6 by lukasztackowiak (2013-04-22 08:40:41+00:00)
Title: Small improvements for have_searchable_field

I've done small improvements for have_searchable_field macher to give it a bit more flexibility.

List of changes:
* allow check if attribute fields are defined also
* allow use it directly on tested class without explicity define

Sample:
```ruby
describe Post do
it { should have_searchable_field(:body) }
end
```