Skip to content

Commit

Permalink
[fixup] パスワードポリシー 使用禁止文字の表示 (#3759)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny4381 committed Dec 1, 2020
1 parent d7c405c commit 1131f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/sys/password_policy_spec.rb
Expand Up @@ -204,7 +204,7 @@ def fill_password_and_save(password)
expect(page).to have_css("div#errorExplanation", text: msg)

fill_password_and_save(password_contained_prohibited_chars)
msg = I18n.t("errors.messages.password_contains_prohibited_chars")
msg = I18n.t("errors.messages.password_contains_prohibited_chars", prohibited_chars: prohibited_chars.join)
expect(page).to have_css("div#errorExplanation", text: msg)

fill_password_and_save(password1)
Expand Down

0 comments on commit 1131f3f

Please sign in to comment.