mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 17:15:32 +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
|