mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
Add billing (#329)
This commit is contained in:
committed by
GitHub
parent
fc36c967af
commit
bea146e612
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user