spec/models/concerns/timestamps_spec.rb in pupa-0.0.8 vs spec/models/concerns/timestamps_spec.rb in pupa-0.0.9

- old
+ new

@@ -1,9 +1,10 @@ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') describe Pupa::Concerns::Timestamps do let :klass do - Class.new(Pupa::Base) do + Class.new do + include Pupa::Model include Pupa::Concerns::Timestamps def save run_callbacks(:save) do unless created_at