Sha256: 1031fdad1d644e10d9276f4863de03efad42516de6a3ccc04f7b47568531a897
Contents?: true
Size: 312 Bytes
Versions: 17
Compression:
Stored size: 312 Bytes
Contents
require '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 expect(MyViewSpec).to receive(:new) ModelWithView.all end end
Version data entries
17 entries across 17 versions & 1 rubygems