Skip to content

Commit da88086

Browse files
committed
Fix Rails/DynamicFindBy: cop
1 parent 2a977b2 commit da88086

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/unit/foreman_plugin_template_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
class ForemanPluginTemplateTest < ActiveSupport::TestCase
44
setup do
5-
User.current = User.find_by_login 'admin'
5+
User.current = User.find_by login: 'admin'
66
end
77

88
test 'the truth' do

0 commit comments

Comments
 (0)