diff --git a/spec/models/conversation_spec.rb b/spec/models/conversation_spec.rb index 2f79b08f2c81..0ca7303ef0a2 100644 --- a/spec/models/conversation_spec.rb +++ b/spec/models/conversation_spec.rb @@ -156,7 +156,7 @@ changed_attributes: nil, performed_by: nil) expect(Rails.configuration.dispatcher).to have_received(:dispatch) .with(described_class::ASSIGNEE_CHANGED, kind_of(Time), conversation: conversation, notifiable_assignee_change: true, - changed_attributes: nil, performed_by: nil) + changed_attributes: changed_attributes, performed_by: nil) expect(Rails.configuration.dispatcher).to have_received(:dispatch) .with(described_class::CONVERSATION_UPDATED, kind_of(Time), conversation: conversation, notifiable_assignee_change: true, changed_attributes: changed_attributes, performed_by: nil)