spec/collection_spec.rb in cistern-0.12.3 vs spec/collection_spec.rb in cistern-1.0.0.pre

- old
+ new

@@ -1,14 +1,13 @@ require 'spec_helper' describe "Cistern::Collection" do - - class SampleCollectionModel < Cistern::Model + class SampleCollectionModel < Sample::Model identity :id attribute :name end - class SampleCollection < Cistern::Collection + class SampleCollection < Sample::Collection model SampleCollectionModel def all self.load([{id: 1}, {id: 3, name: "tom"}, {id: 2}]) end