Update dependency devise-two-factor to v6 [SECURITY] (#31957)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Roetzel <david@roetzel.de>
This commit is contained in:
renovate[bot] 2024-09-19 10:56:09 +00:00 committed by GitHub
parent ef4d6ab988
commit 6801afa12f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -197,7 +197,7 @@ GEM
railties (>= 4.1.0) railties (>= 4.1.0)
responders responders
warden (~> 1.2.3) warden (~> 1.2.3)
devise-two-factor (5.1.0) devise-two-factor (6.0.0)
activesupport (~> 7.0) activesupport (~> 7.0)
devise (~> 4.0) devise (~> 4.0)
railties (~> 7.0) railties (~> 7.0)

View file

@ -4,6 +4,8 @@ require 'rails_helper'
require 'devise_two_factor/spec_helpers' require 'devise_two_factor/spec_helpers'
RSpec.describe User do RSpec.describe User do
subject { described_class.new(account: account) }
let(:password) { 'abcd1234' } let(:password) { 'abcd1234' }
let(:account) { Fabricate(:account, username: 'alice') } let(:account) { Fabricate(:account, username: 'alice') }