Class | CouchPotato::View::ModelViewSpec |
In: |
lib/couch_potato/view/model_view_spec.rb
|
Parent: | BaseViewSpec |
A view to return model instances by searching its properties. If you pass reduce => true will count instead
example:
view :my_view, :key => :name