Rubocop fixes.
This commit is contained in:
parent
3438c15c8f
commit
162949817d
2 changed files with 3 additions and 3 deletions
|
@ -64,7 +64,7 @@ Metrics/BlockNesting:
|
|||
# Offense count: 62
|
||||
# Configuration parameters: CountComments.
|
||||
Metrics/ClassLength:
|
||||
Max: 1766
|
||||
Max: 1781
|
||||
|
||||
# Offense count: 69
|
||||
Metrics/CyclomaticComplexity:
|
||||
|
|
|
@ -1349,8 +1349,8 @@ class UserControllerTest < ActionController::TestCase
|
|||
user = create(:user)
|
||||
moderator_user = create(:moderator_user)
|
||||
administrator_user = create(:administrator_user)
|
||||
suspended_user = create(:user, :suspended)
|
||||
ip_user = create(:user, :creation_ip => "1.2.3.4")
|
||||
_suspended_user = create(:user, :suspended)
|
||||
_ip_user = create(:user, :creation_ip => "1.2.3.4")
|
||||
|
||||
# There are now 7 users - the five above, plus two extra "granters" for the
|
||||
# moderator_user and administrator_user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue