test/test_models.rb in autobots-0.0.1 vs test/test_models.rb in autobots-0.1.0

- old
+ new

@@ -29,13 +29,11 @@ ActiveRecord::Associations::Preloader.new.preload(objects, {issues: :comments}) objects end end -class ProjectPreloadIncludedAssembler < Autobots::Assembler +class ProjectPreloadIncludedAssembler < Autobots::ActiveRecordAssembler self.serializer = ProjectSerializer - include Autobots::Helpers::ActiveRecordPreloading - def preloads {issues: :comments} end end \ No newline at end of file