Initial commit

This commit is contained in:
2023-01-27 22:55:09 +11:00
commit 833f3ea8b2
130 changed files with 5637 additions and 0 deletions

15
spec/support/db.rb Normal file
View File

@@ -0,0 +1,15 @@
# require_with_metadata: true
# frozen_string_literal: true
require_relative "db/helpers"
require_relative "db/database_cleaner"
RSpec.configure do |config|
config.before :suite do
Hanami.app.start :persistence
end
config.include Test::DB::Helpers, :db
# config.include(Test::DB::FactoryHelper.new, factory: nil)
end