Skip to content

Commit

Permalink
[#52] Addressed rubocop issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rpbaltazar committed May 25, 2020
1 parent 52874a8 commit b625e03
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions spec/examples/generic_adapter_examples.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
Apartment::Railtie.config.to_prepare_blocks.map(&:call)

num_available_connections = Apartment.connection_class.connection_pool
.instance_variable_get(:@available)
.instance_variable_get(:@queue)
.size
.instance_variable_get(:@available)
.instance_variable_get(:@queue)
.size

expect(num_available_connections).to eq(0)
end
Expand All @@ -31,8 +31,6 @@
#
describe '#create' do
it 'should create the new databases' do
binding.pry

expect(tenant_names).to include(db1)
expect(tenant_names).to include(db2)
end
Expand Down

0 comments on commit b625e03

Please sign in to comment.