lib/gemika/database.rb
##
# Connects ActiveRecord to the database configured in `spec/support/database.yml`.
#
Connects ActiveRecord to the database configured in `spec/support/database.yml`.
Connects ActiveRecord to the database configured in ` spec / support / database . yml ` .
def connect
      unless @connected
        ActiveRecord::Base.establish_connection(**adapter_config)
        @connected = true
      end
    end
def connect unless @connected ActiveRecord :: Base . establish_connection ( ** adapter_config ) @connected = true end end
Connects ActiveRecord to the database configured in `spec/support/database.yml`.
Connects ActiveRecord to the database configured in ` spec / support / database . yml ` .