mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: Minor linting issue for future rubocops
This commit is contained in:
parent
5b0025c816
commit
fe6fe324c9
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue