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
|