tests: fixup tests.

This commit is contained in:
evazion
2019-09-09 11:51:01 -05:00
parent efca48ee96
commit d812a19902
6 changed files with 12 additions and 10 deletions

View File

@@ -235,6 +235,7 @@ class ApplicationRecord < ActiveRecord::Base
end
def serializable_hash(options = {})
options ||= {}
options[:only] ||= []
options[:include] ||= []
options[:methods] ||= []