From e94a442f81d2d1ca85976230d391455b1d0d97e8 Mon Sep 17 00:00:00 2001 From: Rui Baltazar Date: Mon, 25 May 2020 16:00:35 +0800 Subject: [PATCH] [#52] fix rubocop --- spec/adapters/jdbc_mysql_adapter_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/adapters/jdbc_mysql_adapter_spec.rb b/spec/adapters/jdbc_mysql_adapter_spec.rb index 3062290d..764893b3 100644 --- a/spec/adapters/jdbc_mysql_adapter_spec.rb +++ b/spec/adapters/jdbc_mysql_adapter_spec.rb @@ -9,7 +9,7 @@ subject { Apartment::Tenant.jdbc_mysql_adapter config.symbolize_keys } def tenant_names - ActiveRecord::Base.connection.execute('SELECT schema_name FROM information_schema.schemata').collect { |row| row["schema_name"] } + ActiveRecord::Base.connection.execute('SELECT schema_name FROM information_schema.schemata').collect { |row| row['schema_name'] } end let(:default_tenant) { subject.switch { ActiveRecord::Base.connection.current_database } }