From a0eec57ef0fbbbb2910a46ca65bd5b565ca0534c Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Mon, 19 May 2014 14:10:55 +0200 Subject: test, inline `DeveloperWithAggregate`, which is used by a single test. --- activerecord/test/models/developer.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'activerecord/test/models') diff --git a/activerecord/test/models/developer.rb b/activerecord/test/models/developer.rb index 0a614c3bfd..5bd2f00129 100644 --- a/activerecord/test/models/developer.rb +++ b/activerecord/test/models/developer.rb @@ -76,12 +76,6 @@ class AuditLog < ActiveRecord::Base belongs_to :unvalidated_developer, :class_name => 'Developer' end -DeveloperSalary = Struct.new(:amount) -class DeveloperWithAggregate < ActiveRecord::Base - self.table_name = 'developers' - composed_of :salary, :class_name => 'DeveloperSalary', :mapping => [%w(salary amount)] -end - class DeveloperWithBeforeDestroyRaise < ActiveRecord::Base self.table_name = 'developers' has_and_belongs_to_many :projects, :join_table => 'developers_projects', :foreign_key => 'developer_id' -- cgit v1.2.3