mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 22:23:44 +08:00
10 lines
198 B
Ruby
10 lines
198 B
Ruby
|
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
|