summaryrefslogtreecommitdiff
path: root/spec/models/ci/secure_file_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/ci/secure_file_spec.rb')
-rw-r--r--spec/models/ci/secure_file_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/models/ci/secure_file_spec.rb b/spec/models/ci/secure_file_spec.rb
index ae57b63e7a4..4382385aaf5 100644
--- a/spec/models/ci/secure_file_spec.rb
+++ b/spec/models/ci/secure_file_spec.rb
@@ -17,6 +17,10 @@ RSpec.describe Ci::SecureFile do
it_behaves_like 'having unique enum values'
+ it_behaves_like 'includes Limitable concern' do
+ subject { build(:ci_secure_file, project: create(:project)) }
+ end
+
describe 'validations' do
it { is_expected.to validate_presence_of(:checksum) }
it { is_expected.to validate_presence_of(:file_store) }