DEV: Fix tests being dependent on state of other tests.

DEV: Fix tests being dependent on state of other tests.

diff --git a/spec/connection_management_spec.rb b/spec/connection_management_spec.rb
index 3582b99..b6f91dd 100644
--- a/spec/connection_management_spec.rb
+++ b/spec/connection_management_spec.rb
@@ -27,16 +27,19 @@ describe RailsMultisite::ConnectionManagement do
   end
 
   context 'default' do
+    before do
+      ActiveRecord::Base.establish_connection
+    end
+
+    after do
+      ActiveRecord::Base.remove_connection
+    end
 
     it 'has correct all_dbs' do
       expect(conn.all_dbs).to eq(['default'])
     end
 
     context 'current' do
-      before do
-        conn.establish_connection(db: 'default')
-      end
-
       after do
         ActiveRecord::Base.connection_handler.clear_all_connections!
       end

GitHub sha: e4afab7b