mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Merge pull request #5612 from discourse/featheredtoast-two-factor-login
Featheredtoast two factor login
This commit is contained in:
9
spec/models/user_second_factor_spec.rb
Normal file
9
spec/models/user_second_factor_spec.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe UserSecondFactor do
|
||||
describe '.methods' do
|
||||
it 'should retain the right order' do
|
||||
expect(described_class.methods[:totp]).to eq(1)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user