mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
Review Changes for https://github.com/discourse/discourse/pull/5612/commits/f4f8a293e74e6a37c7bee7645d9ca1d72a7d5bd3.
This commit is contained in:
parent
f4f8a293e7
commit
14f3594f9f
47 changed files with 843 additions and 492 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue