Merge pull request #5612 from discourse/featheredtoast-two-factor-login

Featheredtoast two factor login
This commit is contained in:
Guo Xiang Tan
2018-02-21 15:00:10 +08:00
committed by GitHub
54 changed files with 1392 additions and 81 deletions

View 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