spec/spec_helper.rb in phony_rails-0.14.6 vs spec/spec_helper.rb in phony_rails-0.14.7

- old
+ new

@@ -1,6 +1,7 @@ # frozen_string_literal: true + require 'coveralls' Coveralls.wear! # Own code here. @@ -61,10 +62,11 @@ end class ActiveRecordDummy < ActiveRecordModel end -class ActiveModelModel # in case you don't want a database for your model +# In case you don't want a database for your model +class ActiveModelModel include ActiveModel::Model # this provides most of the interface of AR include ActiveModel::Validations::Callbacks # we use callbacks for normalization include SharedModelMethods # database columns don't give us free attributes, we have to define them