mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 15:03:38 +08:00
FIX: Minor linting issue for future rubocops
This commit is contained in:
parent
5b0025c816
commit
fe6fe324c9
|
@ -380,7 +380,7 @@ RSpec.describe SessionController do
|
|||
end
|
||||
end
|
||||
context "when the security key params are invalid" do
|
||||
it" shows an error message and denies login" do
|
||||
it "shows an error message and denies login" do
|
||||
|
||||
post "/session/email-login/#{email_token.token}.json", params: {
|
||||
second_factor_token: {
|
||||
|
@ -1317,7 +1317,7 @@ RSpec.describe SessionController do
|
|||
end
|
||||
end
|
||||
context "when the security key params are invalid" do
|
||||
it" shows an error message and denies login" do
|
||||
it "shows an error message and denies login" do
|
||||
|
||||
post "/session.json", params: {
|
||||
login: user.username,
|
||||
|
|
Loading…
Reference in New Issue
Block a user