Add billing (#329)

This commit is contained in:
Riccardo Graziosi
2024-05-03 18:11:07 +02:00
committed by GitHub
parent fc36c967af
commit bea146e612
63 changed files with 1354 additions and 27 deletions

View File

@@ -19,6 +19,8 @@ RSpec.configure do |config|
# Set tenant before each test
config.before(:each) do
Current.tenant = FactoryBot.create(:tenant)
Current.tenant.tenant_setting = FactoryBot.create(:tenant_setting)
Current.tenant.tenant_billing = FactoryBot.create(:tenant_billing)
end
# Compile fresh assets before system specs (needed to get the changes)