test: update spec for usage_limits
This commit is contained in:
@@ -43,7 +43,8 @@ RSpec.describe Account do
|
||||
let(:account) { create(:account) }
|
||||
|
||||
it 'returns ChatwootApp.max limits' do
|
||||
expect(account.usage_limits).to eq({ agents: ChatwootApp.max_limit, inboxes: ChatwootApp.max_limit })
|
||||
expect(account.usage_limits[:agents]).to eq(ChatwootApp.max_limit)
|
||||
expect(account.usage_limits[:inboxes]).to eq(ChatwootApp.max_limit)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user