From af99784ec470c32b1897acbec3b0dd947d965b7e Mon Sep 17 00:00:00 2001 From: Muhsin Keloth Date: Wed, 9 Apr 2025 12:28:03 +0530 Subject: [PATCH] Update conversation_spec.rb --- spec/models/conversation_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/conversation_spec.rb b/spec/models/conversation_spec.rb index abf17da99..e03133975 100644 --- a/spec/models/conversation_spec.rb +++ b/spec/models/conversation_spec.rb @@ -656,7 +656,7 @@ RSpec.describe Conversation do create(:message, account: instagram_conversation.account, inbox: instagram_inbox, conversation: instagram_conversation, created_at: 48.hours.ago) - expect(conversation.can_reply?).to be true + expect(instagram_conversation.can_reply?).to be true end it 'return false without HUMAN_AGENT if it is outside of 24 hour window' do @@ -665,7 +665,7 @@ RSpec.describe Conversation do create(:message, account: instagram_conversation.account, inbox: instagram_inbox, conversation: instagram_conversation, created_at: 48.hours.ago) - expect(conversation.can_reply?).to be false + expect(instagram_conversation.can_reply?).to be false end end end