Update conversation_spec.rb

This commit is contained in:
Muhsin Keloth
2025-04-09 12:33:53 +05:30
parent 46b2f88b70
commit 7449a8f5e5
+2 -2
View File
@@ -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