Fixes #3307 - Zendesk migration of textareas fails
This commit is contained in:
parent
e2c4e6316d
commit
eaa1f1f92b
2 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ module Import
|
|||
private
|
||||
|
||||
def data_type(_attribute)
|
||||
'input'
|
||||
'textarea'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -4,7 +4,7 @@ require 'lib/import/zendesk/object_attribute/base_examples'
|
|||
RSpec.describe Import::Zendesk::ObjectAttribute::Textarea do
|
||||
it_behaves_like Import::Zendesk::ObjectAttribute::Base
|
||||
|
||||
it 'imports input object attribute from textarea object field' do
|
||||
it 'imports textarea object attribute from textarea object field' do
|
||||
|
||||
attribute = double(
|
||||
title: 'Example attribute',
|
||||
|
@ -22,7 +22,7 @@ RSpec.describe Import::Zendesk::ObjectAttribute::Textarea do
|
|||
object: 'Ticket',
|
||||
name: 'example_field',
|
||||
display: 'Example attribute',
|
||||
data_type: 'input',
|
||||
data_type: 'textarea',
|
||||
data_option: {
|
||||
null: false,
|
||||
note: 'Example attribute description',
|
||||
|
|
Loading…
Reference in a new issue