Sha256: 5a0a9f4b33bd0360c83665d106ebd06305973b7289be9592442d31fdedf1d457
Contents?: true
Size: 337 Bytes
Versions: 28
Compression:
Stored size: 337 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe CouchPotato::View::CustomViews do class MyViewSpec; end class ModelWithView include CouchPotato::Persistence view :all, :type => MyViewSpec end it "should use a custom viewspec class" do MyViewSpec.should_receive(:new) ModelWithView.all end end
Version data entries
28 entries across 28 versions & 4 rubygems