diff --git a/spec/license_category_spec.rb b/spec/license_category_spec.rb index 878506f..f66ec0e 100644 --- a/spec/license_category_spec.rb +++ b/spec/license_category_spec.rb @@ -15,7 +15,6 @@ describe 'license categories' do expected = family_licenses.count - 1 expect(variants.count).to eql(expected) end - end end end diff --git a/spec/license_meta_spec.rb b/spec/license_meta_spec.rb index e26fb03..d7bd689 100644 --- a/spec/license_meta_spec.rb +++ b/spec/license_meta_spec.rb @@ -19,12 +19,12 @@ describe 'license meta' do if license['family'] it 'should contain the required license variant fields' do - missing = ['family'] - license.keys + missing = %w(family) - license.keys expect(missing).to be_empty end else it 'should not contain license family specific fields' do - extra = ['variant', 'family'].select { |f| raw_fields.keys.include?(f) } + extra = %w(variant family).select { |f| raw_fields.keys.include?(f) } expect(extra).to be_empty end end