chore: fix specs
This commit is contained in:
parent
f32f1d22a3
commit
e04a0012f3
1 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@ require Rails.root.join 'spec/models/concerns/assignment_handler_shared.rb'
|
||||||
require Rails.root.join 'spec/models/concerns/round_robin_handler_shared.rb'
|
require Rails.root.join 'spec/models/concerns/round_robin_handler_shared.rb'
|
||||||
|
|
||||||
RSpec.describe Conversation, type: :model do
|
RSpec.describe Conversation, type: :model do
|
||||||
|
|
||||||
describe 'associations' do
|
describe 'associations' do
|
||||||
it { is_expected.to belong_to(:account) }
|
it { is_expected.to belong_to(:account) }
|
||||||
it { is_expected.to belong_to(:inbox) }
|
it { is_expected.to belong_to(:inbox) }
|
||||||
|
@ -583,7 +582,7 @@ RSpec.describe Conversation, type: :model do
|
||||||
|
|
||||||
describe '#delete conversation' do
|
describe '#delete conversation' do
|
||||||
include ActiveJob::TestHelper
|
include ActiveJob::TestHelper
|
||||||
|
|
||||||
let!(:conversation) { create(:conversation) }
|
let!(:conversation) { create(:conversation) }
|
||||||
|
|
||||||
let!(:notification) { create(:notification, notification_type: 'conversation_creation', primary_actor: conversation) }
|
let!(:notification) { create(:notification, notification_type: 'conversation_creation', primary_actor: conversation) }
|
||||||
|
|
Loading…
Reference in a new issue