mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
restrict user invites
This commit is contained in:
1 parent
b317094192
commit
b6a2aae970
5 files changed
+67
-15
No files matched your search
@@ -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)
|
||||
Reference in new issue
Block a user