restrict user invites

This commit is contained in:
Alex Turchyn authored and Pete Matsyburka committed 2024-12-12 14:04:09 +02:00
1 parent b317094192
commit b6a2aae970
5 files changed
+67 -15

No files matched your search

+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)