Improved test.

This commit is contained in:
Martin Edenhofer 2015-12-06 15:24:09 +01:00
parent 3accd37aa0
commit 7ab7b3aa26

View file

@ -40,7 +40,7 @@ class ChatTest < ActiveSupport::TestCase
Chat::Message.delete_all
Chat::Agent.delete_all
Setting.set('chat', false)
chat = Chat.create(
chat = Chat.create_or_update(
name: 'default',
max_queue: 5,
note: '',