trabajo-afectivo/spec/factories/http_log.rb

15 lines
491 B
Ruby
Raw Normal View History

# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
FactoryBot.define do
factory :http_log do
direction { 'in' }
facility { 'cti' }
add_attribute(:method) { 'post' }
url { 'https://zammad.fqdn.com/api/v1/integration/cti/log' }
request { { content: 'foo' } }
response { { content: 'bar' } }
created_by_id { 1 }
updated_by_id { 1 }
end
end