mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 14:45:02 +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
|