Skip to content

Commit

Permalink
Rspec test fix for tenants controller spec
Browse files Browse the repository at this point in the history
- added the setting SpecificEmailDomainSignUp
  • Loading branch information
alihadimazeh committed Aug 12, 2024
1 parent a6076a6 commit 1903619
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/controllers/admin/tenants_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

require 'rails_helper'

RSpec.describe Api::V1::Admin::TenantsController, type: :controller do
RSpec.describe Api::V1::Admin::TenantsController do
let(:user) { create(:user, :with_super_admin) }
let(:valid_tenant_params) do
{
Expand Down Expand Up @@ -146,6 +146,8 @@ def create_settings_permissions_meetingoptions
Setting.find_or_create_by(name: 'HelpCenter')
Setting.find_or_create_by(name: 'Maintenance')
Setting.find_or_create_by(name: 'SessionTimeout')
Setting.find_or_create_by(name: 'SpecificEmailDomainSignUp')


Permission.find_or_create_by(name: 'CreateRoom')
Permission.find_or_create_by(name: 'ManageUsers')
Expand Down

0 comments on commit 1903619

Please sign in to comment.