diff --git a/spec/presenters/two_factor_options_presenter_spec.rb b/spec/presenters/two_factor_options_presenter_spec.rb index 5816a8da51d..a86ec05b8d3 100644 --- a/spec/presenters/two_factor_options_presenter_spec.rb +++ b/spec/presenters/two_factor_options_presenter_spec.rb @@ -116,23 +116,6 @@ ] end end - context 'when platform_auth_set_up_enabled is enabled' do - before do - allow(IdentityConfig.store).to receive(:platform_auth_set_up_enabled). - and_return(true) - end - - it 'supplies all the options except webauthn' do - expect(presenter.options.map(&:class)).to eq [ - TwoFactorAuthentication::SetUpWebauthnPlatformSelectionPresenter, - TwoFactorAuthentication::SetUpAuthAppSelectionPresenter, - TwoFactorAuthentication::SetUpPhoneSelectionPresenter, - TwoFactorAuthentication::SetUpWebauthnSelectionPresenter, - TwoFactorAuthentication::SetUpPivCacSelectionPresenter, - TwoFactorAuthentication::SetUpBackupCodeSelectionPresenter, - ] - end - end end describe '#all_options_sorted' do