Class CouchPotato::View::CustomViewSpec
In: lib/couch_potato/view/custom_view_spec.rb
Parent: BaseViewSpec

a view for custom map/reduce functions that still returns model instances

example:

  view :my_custom_view, :map => "function(doc) { emit(doc._id, null); }", :include_docs => true, :type => :custom, :reduce => nil

Methods

Public Instance methods

[Validate]