discourse/spec/models/user_second_factor_spec.rb

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