Skip to content

Commit

Permalink
[#52] fixed failing specs
Browse files Browse the repository at this point in the history
  • Loading branch information
rpbaltazar committed May 25, 2020
1 parent 7adfb2c commit 58feaa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/adapters/jdbc_mysql_adapter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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[0] }
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 } }
Expand Down

0 comments on commit 58feaa5

Please sign in to comment.