diff --git a/lib/import/zendesk/object_attribute/textarea.rb b/lib/import/zendesk/object_attribute/textarea.rb index e22ac0f12..ed7e8bf96 100644 --- a/lib/import/zendesk/object_attribute/textarea.rb +++ b/lib/import/zendesk/object_attribute/textarea.rb @@ -18,7 +18,7 @@ module Import private def data_type(_attribute) - 'input' + 'textarea' end end end diff --git a/spec/lib/import/zendesk/object_attribute/textarea_spec.rb b/spec/lib/import/zendesk/object_attribute/textarea_spec.rb index f4ed38e38..2cbaa668a 100644 --- a/spec/lib/import/zendesk/object_attribute/textarea_spec.rb +++ b/spec/lib/import/zendesk/object_attribute/textarea_spec.rb @@ -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',