mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
DEV: lint against Layout/EmptyLineBetweenDefs (#24914)
This commit is contained in:
@ -123,6 +123,7 @@ RSpec.describe Auth::ManagedAuthenticator do
|
||||
def name
|
||||
"myauth"
|
||||
end
|
||||
|
||||
def can_connect_existing_user?
|
||||
false
|
||||
end
|
||||
@ -164,6 +165,7 @@ RSpec.describe Auth::ManagedAuthenticator do
|
||||
def name
|
||||
"myauth"
|
||||
end
|
||||
|
||||
def match_by_email
|
||||
false
|
||||
end
|
||||
@ -328,9 +330,11 @@ RSpec.describe Auth::ManagedAuthenticator do
|
||||
def name
|
||||
"myauth"
|
||||
end
|
||||
|
||||
def match_by_email
|
||||
false
|
||||
end
|
||||
|
||||
def match_by_username
|
||||
true
|
||||
end
|
||||
@ -395,6 +399,7 @@ RSpec.describe Auth::ManagedAuthenticator do
|
||||
def name
|
||||
"myauth"
|
||||
end
|
||||
|
||||
def match_by_username
|
||||
false
|
||||
end
|
||||
|
Reference in New Issue
Block a user