Skip to content

Commit

Permalink
[#52] fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
rpbaltazar committed May 25, 2020
1 parent ac98968 commit e94a442
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["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 } }
Expand Down

0 comments on commit e94a442

Please sign in to comment.