Run rubocop --fix-layout and remove encoding comments

This commit is contained in:
Patrick Gansterer 2021-03-01 15:27:26 +01:00
parent fa63e6e81d
commit ea2862fdef
283 changed files with 1164 additions and 1969 deletions

View file

@ -1,7 +1,5 @@
module SessionHelper
def login(user=nil, password=nil)
def login(user = nil, password = nil)
visit login_path
user = FactoryBot.create :user if user.nil?
if user.instance_of? ::User
@ -13,5 +11,4 @@ module SessionHelper
fill_in 'password', :with => password
find('input[type=submit]').click
end
end