OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
imore tests
Klaus Zanders0f7b53030489
diff --git a/modules/two_factor_authentication/spec/models/device/webauthn_spec.rb b/modules/two_factor_authentication/spec/models/device/webauthn_spec.rbindex 5e504e99159..8403472c2c4 100644--- a/modules/two_factor_authentication/spec/models/device/webauthn_spec.rb+++ b/modules/two_factor_authentication/spec/models/device/webauthn_spec.rb@@ -1,9 +1,10 @@require 'spec_helper'RSpec.describe TwoFactorAuthentication::Device::Webauthn do- subject { create(:two_factor_authentication_device_webauthn) }+ let(:user) { create(:user) }++ subject { build(:two_factor_authentication_device_webauthn, user:) }it { is_expected.to validate_presence_of(:webauthn_external_id) }- it { is_expected.to validate_uniqueness_of(:webauthn_external_id).scoped_to(:user_id) }it { is_expected.to validate_presence_of(:webauthn_public_key) }end