class TestAdapterWithInvalidConnection

Public Instance Methods

setup() click to toggle source
# File activerecord/test/cases/invalid_connection_test.rb, line 12
def setup
  # Can't just use current adapter; sqlite3 will create a database
  # file on the fly.
  Bird.establish_connection adapter: "mysql2", database: "i_do_not_exist"
end