Chore: Added tests for canned_responses (#477)

This commit is contained in:
Tim Lange
2020-02-08 07:28:41 +01:00
committed by GitHub
parent 37289fbd63
commit 1d269f4e8d
2 changed files with 134 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# frozen_string_literal: true
FactoryBot.define do
factory :canned_response do
content { 'Content' }
sequence(:short_code) { |n| "CODE#{n}" }
account
end
end