restrict user invites

This commit is contained in:
Alex Turchyn
2024-12-10 23:18:07 +02:00
committed by Pete Matsyburka
parent b317094192
commit b6a2aae970
5 changed files with 67 additions and 15 deletions
+4
View File
@@ -68,6 +68,10 @@ RSpec.configure do |config|
config.before do |example|
Sidekiq::Testing.inline! if example.metadata[:sidekiq] == :inline
end
config.before(multitenant: true) do
allow(Docuseal).to receive(:multitenant?).and_return(true)
end
end
ActiveSupport.run_load_hooks(:rails_specs, self)