mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix a test that assumes that defined?(ActiveRecord) == defined?(ActiveRecord::Base)
This commit is contained in:
@@ -91,7 +91,7 @@ module ApplicationTests
|
||||
test "database middleware doesn't initialize when activerecord is not in frameworks" do
|
||||
use_frameworks []
|
||||
require "#{app_path}/config/environment"
|
||||
assert_nil defined?(ActiveRecord)
|
||||
assert_nil defined?(ActiveRecord::Base)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user