diff options
Diffstat (limited to 'spec/rubocop/cop/background_migration/feature_category_spec.rb')
-rw-r--r-- | spec/rubocop/cop/background_migration/feature_category_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/rubocop/cop/background_migration/feature_category_spec.rb b/spec/rubocop/cop/background_migration/feature_category_spec.rb index 1d1b6cfad5a..12794de4f38 100644 --- a/spec/rubocop/cop/background_migration/feature_category_spec.rb +++ b/spec/rubocop/cop/background_migration/feature_category_spec.rb @@ -66,4 +66,10 @@ RSpec.describe RuboCop::Cop::BackgroundMigration::FeatureCategory, feature_categ RUBY end end + + describe '#external_dependency_checksum' do + it 'returns a SHA256 digest used by RuboCop to invalid cache' do + expect(cop.external_dependency_checksum).to match(/^\h{64}$/) + end + end end |