Skip to content

Commit 47cd1ee

Browse files
committed
Update adapter_test_sqlserver.rb
1 parent d7c16b5 commit 47cd1ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cases/adapter_test_sqlserver.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class AdapterTestSQLServer < ActiveRecord::TestCase
102102
assert_raise ActiveRecord::NoDatabaseError do
103103
db_config = ActiveRecord::Base.configurations.configs_for(env_name: "arunit", name: "primary")
104104
configuration = db_config.configuration_hash.merge(database: "nonexistent_activerecord_unittest")
105-
connection = ActiveRecord::ConnectionAdapters::SQLServerAdapter(configuration)
105+
connection = ActiveRecord::ConnectionAdapters::SQLServerAdapter.new(configuration)
106106
connection.exec_query("SELECT 1")
107107
end
108108
end

0 commit comments

Comments
 (0)