Fix fake connection leaking for Ci::ApplicationRecord
After the example has run, the Ci::ApplicationRecord#connection_specification_name remained stuck as "Ci::ApplicationRecord" instead of reverting back to "ActiveRecord::Base". We call model.remove_connection to fix this. Also, there is no need to setup a (fake) ci connection, if we already have one
Showing
Please register or sign in to comment