mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +00:00
More rebranding changes (#159)
* Replace Maybe for Sure in select code areas * Make sure passwords are consistent * Remove (admin|member) from demo data first name * Database and schema names finally to `sure` * Fix broken test * Another (benchmarking) database name to `sure_*` * More rebranding to Sure * Missed this Maybe mention in the same page * Random nitpicks and more Maybes * Demo data accounts and more Maybes * Test data account updates * Impersonation test accounts * Consistency with `compose.example.yml`
This commit is contained in:
@@ -31,7 +31,7 @@ class MfaControllerTest < ActionDispatch::IntegrationTest
|
||||
|
||||
test "enables MFA with valid code" do
|
||||
@user.setup_mfa!
|
||||
totp = ROTP::TOTP.new(@user.otp_secret, issuer: "Maybe")
|
||||
totp = ROTP::TOTP.new(@user.otp_secret, issuer: "Sure Finances")
|
||||
|
||||
post mfa_path, params: { code: totp.now }
|
||||
|
||||
@@ -70,7 +70,7 @@ class MfaControllerTest < ActionDispatch::IntegrationTest
|
||||
sign_out
|
||||
|
||||
post sessions_path, params: { email: @user.email, password: user_password_test }
|
||||
totp = ROTP::TOTP.new(@user.otp_secret, issuer: "Maybe")
|
||||
totp = ROTP::TOTP.new(@user.otp_secret, issuer: "Sure Finances")
|
||||
|
||||
post verify_mfa_path, params: { code: totp.now }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user