Skip to content

Commit f38c74b

Browse files
committed
Adding ApplicationModel to the test helper.
The Active Record tests should now include inside of it an ApplicationModel.
1 parent 045e987 commit f38c74b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

activerecord/test/cases/helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
require 'cases/test_case'
1010
require 'active_support/dependencies'
1111
require 'active_support/logger'
12+
require 'models/application_model'
1213

1314
require 'support/config'
1415
require 'support/connection'
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class ApplicationModel < ActiveRecord::Base
2+
self.abstract_class = true
3+
end

0 commit comments

Comments
 (0)