spec/formatter_spec.rb in cistern-0.11.2.pre2 vs spec/formatter_spec.rb in cistern-0.11.2

- old
+ new

@@ -1,13 +1,14 @@ require 'spec_helper' describe "#inspect" do - class Inspector < Sample::Model + class Inspector < Cistern::Model identity :id attribute :name end - class Inspectors < Sample::Collection + class Inspectors < Cistern::Collection + model Inspector def all(options={}) merge_attributes(options) self.load([{id: 1, name: "2"},{id: 3, name: "4"}])