aboutsummaryrefslogtreecommitdiffstats
path: root/test/database/setup.rb
blob: 7373d72237460fe3ce44b944322d4ac897c080d2 (plain) (blame)
1
2
3
4
5
6
require "active_vault/migration"
require_relative "create_users_migration"

ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:')
ActiveVault::CreateTables.migrate(:up)
ActiveVault::CreateUsers.migrate(:up)