mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
FIX: Minor linting issue for future rubocops
This commit is contained in:
@ -380,7 +380,7 @@ RSpec.describe SessionController do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
context "when the security key params are invalid" do
|
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: {
|
post "/session/email-login/#{email_token.token}.json", params: {
|
||||||
second_factor_token: {
|
second_factor_token: {
|
||||||
@ -1317,7 +1317,7 @@ RSpec.describe SessionController do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
context "when the security key params are invalid" do
|
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: {
|
post "/session.json", params: {
|
||||||
login: user.username,
|
login: user.username,
|
||||||
|
Reference in New Issue
Block a user