Skip to content

Commit b96bd30

Browse files
wangjohnrafaelfranca
authored andcommitted
Adding ApplicationModel to the test helper.
The Active Record tests should now include inside of it an ApplicationModel.
1 parent fbdd36b commit b96bd30

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
@@ -10,6 +10,7 @@
1010
require 'active_support/dependencies'
1111
require 'active_support/logger'
1212
require 'active_support/core_ext/string/strip'
13+
require 'models/application_model'
1314

1415
require 'support/config'
1516
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)