Changed tests

This commit is contained in:
Oleg Hasjanov 2021-07-28 14:19:13 +03:00 committed by olegphenomenon
parent 64cb2c35f3
commit 68ff1c1e64
2 changed files with 4 additions and 3 deletions

View file

@ -6,7 +6,7 @@ module Repp
desc 'check login user and return data'
def index
@login = current_user
@login = current_user.registrar
# rubocop:disable Style/AndOr
render_success(data: nil) and return unless @login