From f8fcad6afbf6a517d5f8728e33f32b3517bc4eb1 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 24 Nov 2019 16:45:53 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/IndentFirstHashElement in test/test_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19276 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/test_helper.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index 22543b30d..68e292848 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -63,7 +63,8 @@ class ActiveSupport::TestCase end def mock_file(options=nil) - options ||= { + options ||= + { :original_filename => 'a_file.png', :content_type => 'image/png', :size => 32 @@ -373,10 +374,13 @@ module Redmine assert_nil session[:user_id] assert_response :success - post "/login", :params => { + post( + "/login", + :params => { :username => login, :password => password } + ) assert_equal login, User.find(session[:user_id]).login end -- 2.39.5