rails-sqlserver / activerecord-sqlserver-adapter

SQL Server Adapter For Rails
MIT License
968 stars 558 forks source link

Updated error message in test to include sqlserver #1176

Closed aidanharan closed 1 month ago

aidanharan commented 1 month ago

Coerce ActiveRecord::ConnectionAdapters::PoolConfig::ResolverTest#test_url_invalid_adapter test as sqlserver not included in error message.

https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/actions/runs/9094436581/job/24995515248

ActiveRecord::ConnectionAdapters::PoolConfig::ResolverTest#test_url_invalid_adapter [/usr/local/bundle/bundler/gems/rails-cb60cc0b1539/activerecord/test/cases/database_configurations/resolver_test.rb:19]:
Expected /Database\ configuration\ specifies\ nonexistent\ 'ridiculous'\ adapter\.\ Available\ adapters\ are:\ abstract,\ fake,\ mysql2,\ postgresql,\ sqlite3,\ trilogy\.\ Ensure\ that\ the\ adapter\ is\ spelled\ correctly\ in\ config\/database\.yml\ and\ that\ you've\ added\ the\ necessary\ adapter\ gem\ to\ your\ Gemfile\ if\ it's\ not\ in\ the\ list\ of\ available\ adapters\./ to match "Database configuration specifies nonexistent 'ridiculous' adapter. Available adapters are: abstract, fake, mysql2, postgresql, sqlite3, sqlserver, trilogy. Ensure that the adapter is spelled correctly in config/database.yml and that you've added the necessary adapter gem to your Gemfile if it's not in the list of available adapters.".