Sha256: 73c9613c895cbd3f81898bac3e894c699bd89e8f69abf22ecae6b31d9a3c1143
Contents?: true
Size: 337 Bytes
Versions: 7
Compression:
Stored size: 337 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe CouchTomato::View::CustomViews do class MyViewSpec; end class ModelWithView include CouchTomato::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
7 entries across 7 versions & 1 rubygems