Applied new rubocop.

This commit is contained in:
Martin Edenhofer 2016-06-07 22:19:48 +02:00
parent 0acd538a4e
commit faf4b0ed86
2 changed files with 8 additions and 4 deletions

View file

@ -9,7 +9,8 @@ class UpdateSettingPlaceholder < ActiveRecord::Migration
system_id system_id
fqdn fqdn
http_type http_type
ticket_hook) ticket_hook
)
names.each {|name| names.each {|name|
setting = Setting.find_by(name: name) setting = Setting.find_by(name: name)
next if !setting next if !setting

View file

@ -178,7 +178,8 @@ class ZendeskImportTest < ActiveSupport::TestCase
created_at created_at
updated_at updated_at
lieblingstier lieblingstier
custom_dropdown) custom_dropdown
)
assert_equal(copmare_fields, local_fields, 'user fields') assert_equal(copmare_fields, local_fields, 'user fields')
end end
@ -264,7 +265,8 @@ class ZendeskImportTest < ActiveSupport::TestCase
created_at created_at
updated_at updated_at
api_key api_key
custom_dropdown) custom_dropdown
)
assert_equal(copmare_fields, local_fields, 'organization fields') assert_equal(copmare_fields, local_fields, 'organization fields')
end end
@ -468,7 +470,8 @@ If you\'re reading this message in your email, click the ticket number link that
custom_date custom_date
custom_integer custom_integer
custom_regex custom_regex
custom_dropdown) custom_dropdown
)
assert_equal(copmare_fields, local_fields, 'ticket fields') assert_equal(copmare_fields, local_fields, 'ticket fields')
end end