We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7c16b5 commit 47cd1eeCopy full SHA for 47cd1ee
test/cases/adapter_test_sqlserver.rb
@@ -102,7 +102,7 @@ class AdapterTestSQLServer < ActiveRecord::TestCase
102
assert_raise ActiveRecord::NoDatabaseError do
103
db_config = ActiveRecord::Base.configurations.configs_for(env_name: "arunit", name: "primary")
104
configuration = db_config.configuration_hash.merge(database: "nonexistent_activerecord_unittest")
105
- connection = ActiveRecord::ConnectionAdapters::SQLServerAdapter(configuration)
+ connection = ActiveRecord::ConnectionAdapters::SQLServerAdapter.new(configuration)
106
connection.exec_query("SELECT 1")
107
end
108
0 commit comments