diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2017-08-03 15:01:22 -0500 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-08-03 15:01:22 -0500 |
commit | a56b2a5e4022a9be76de1aabfb7314c8a8b63182 (patch) | |
tree | 3311abd1889e93670a746272626b75d0093f5411 | |
parent | 425aaabcfe687e507f7e2990a1213f6c4add7e6a (diff) | |
download | rails-a56b2a5e4022a9be76de1aabfb7314c8a8b63182.tar.gz rails-a56b2a5e4022a9be76de1aabfb7314c8a8b63182.tar.bz2 rails-a56b2a5e4022a9be76de1aabfb7314c8a8b63182.zip |
Including new default classes in loading test
-rw-r--r-- | railties/test/application/loading_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/test/application/loading_test.rb b/railties/test/application/loading_test.rb index c75a25bc6f..1c5055a413 100644 --- a/railties/test/application/loading_test.rb +++ b/railties/test/application/loading_test.rb @@ -115,11 +115,11 @@ class LoadingTest < ActiveSupport::TestCase require "#{rails_root}/config/environment" setup_ar! - assert_equal [ActiveRecord::SchemaMigration, ActiveRecord::InternalMetadata], ActiveRecord::Base.descendants + assert_equal [ActiveStorage::Blob, ActiveStorage::Attachment, ActiveRecord::SchemaMigration, ActiveRecord::InternalMetadata], ActiveRecord::Base.descendants get "/load" - assert_equal [ActiveRecord::SchemaMigration, ActiveRecord::InternalMetadata, Post], ActiveRecord::Base.descendants + assert_equal [ActiveStorage::Blob, ActiveStorage::Attachment, ActiveRecord::SchemaMigration, ActiveRecord::InternalMetadata, Post], ActiveRecord::Base.descendants get "/unload" - assert_equal [ActiveRecord::SchemaMigration, ActiveRecord::InternalMetadata], ActiveRecord::Base.descendants + assert_equal [ActiveStorage::Blob, ActiveStorage::Attachment, ActiveRecord::SchemaMigration, ActiveRecord::InternalMetadata], ActiveRecord::Base.descendants end test "initialize cant be called twice" do |