Applied new rubocop.
This commit is contained in:
parent
0acd538a4e
commit
faf4b0ed86
2 changed files with 8 additions and 4 deletions
|
@ -9,7 +9,8 @@ class UpdateSettingPlaceholder < ActiveRecord::Migration
|
|||
system_id
|
||||
fqdn
|
||||
http_type
|
||||
ticket_hook)
|
||||
ticket_hook
|
||||
)
|
||||
names.each {|name|
|
||||
setting = Setting.find_by(name: name)
|
||||
next if !setting
|
||||
|
|
|
@ -178,7 +178,8 @@ class ZendeskImportTest < ActiveSupport::TestCase
|
|||
created_at
|
||||
updated_at
|
||||
lieblingstier
|
||||
custom_dropdown)
|
||||
custom_dropdown
|
||||
)
|
||||
|
||||
assert_equal(copmare_fields, local_fields, 'user fields')
|
||||
end
|
||||
|
@ -264,7 +265,8 @@ class ZendeskImportTest < ActiveSupport::TestCase
|
|||
created_at
|
||||
updated_at
|
||||
api_key
|
||||
custom_dropdown)
|
||||
custom_dropdown
|
||||
)
|
||||
|
||||
assert_equal(copmare_fields, local_fields, 'organization fields')
|
||||
end
|
||||
|
@ -468,7 +470,8 @@ If you\'re reading this message in your email, click the ticket number link that
|
|||
custom_date
|
||||
custom_integer
|
||||
custom_regex
|
||||
custom_dropdown)
|
||||
custom_dropdown
|
||||
)
|
||||
|
||||
assert_equal(copmare_fields, local_fields, 'ticket fields')
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue