fix: destroy bulk service (#5921)

This commit is contained in:
Tejaswini Chile
2022-11-25 22:46:50 +05:30
committed by GitHub
parent b05d06a28a
commit fc9fc5a661
6 changed files with 65 additions and 51 deletions

View File

@@ -26,7 +26,9 @@ describe ::NotificationBuilder do
end
it 'will not throw error if notification setting is not present' do
user.account_users.destroy_all
perform_enqueued_jobs do
user.account_users.destroy_all
end
expect(
described_class.new(
notification_type: 'conversation_creation',