aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/course.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/course.rb')
-rw-r--r--activerecord/test/models/course.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/activerecord/test/models/course.rb b/activerecord/test/models/course.rb
index 8a40fa740d..f3d0e05ff7 100644
--- a/activerecord/test/models/course.rb
+++ b/activerecord/test/models/course.rb
@@ -1,3 +1,6 @@
-class Course < ActiveRecord::Base
+require_dependency 'models/arunit2_model'
+
+class Course < ARUnit2Model
+ belongs_to :college
has_many :entrants
end