diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-24 16:45:53 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-24 16:45:53 +0000 |
commit | f8fcad6afbf6a517d5f8728e33f32b3517bc4eb1 (patch) | |
tree | f65d06674ff7fd5fcbe979d9eecbc281c2463d1d | |
parent | 98777fdb8b29c0d3c06c5ade45c59c650c523707 (diff) | |
download | redmine-f8fcad6afbf6a517d5f8728e33f32b3517bc4eb1.tar.gz redmine-f8fcad6afbf6a517d5f8728e33f32b3517bc4eb1.zip |
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
-rw-r--r-- | test/test_helper.rb | 8 |
1 files 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 |