2021-05-01 23:02:08 +02:00
|
|
|
ENV["LUCKY_ENV"] = "test"
|
|
|
|
ENV["DEV_PORT"] = "5001"
|
|
|
|
require "spec"
|
|
|
|
require "lucky_flow"
|
2023-05-06 16:53:31 +02:00
|
|
|
require "lucky_flow/ext/lucky"
|
|
|
|
require "lucky_flow/ext/avram"
|
2021-05-01 23:02:08 +02:00
|
|
|
require "../src/app"
|
|
|
|
require "./support/flows/base_flow"
|
|
|
|
require "./support/**"
|
|
|
|
require "../db/migrations/**"
|
|
|
|
require "./setup/**"
|
|
|
|
|
|
|
|
include Carbon::Expectations
|
|
|
|
include Lucky::RequestExpectations
|
|
|
|
include LuckyFlow::Expectations
|
|
|
|
|
|
|
|
Avram::Migrator::Runner.new.ensure_migrated!
|
|
|
|
Avram::SchemaEnforcer.ensure_correct_column_mappings!
|
|
|
|
Habitat.raise_if_missing_settings!
|