mirror of
https://github.com/redmine/redmine.git
synced 2025-11-03 11:56:18 +01:00
Fix RuboCop offense Performance/StringIdentifierArgument (#39888).
git-svn-id: https://svn.redmine.org/redmine/trunk@22535 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -130,7 +130,7 @@ class AuthSourceLdapTest < ActiveSupport::TestCase
|
||||
assert_equal 'example1@redmine.org', attributes[:mail]
|
||||
assert_equal auth.id, attributes[:auth_source_id]
|
||||
attributes.each_key do |attribute|
|
||||
assert User.new.respond_to?("#{attribute}="), "Unexpected :#{attribute} attribute returned"
|
||||
assert User.new.respond_to?(:"#{attribute}="), "Unexpected :#{attribute} attribute returned"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user