From 71aace0808219610c42e358114cdc3399749aa75 Mon Sep 17 00:00:00 2001 From: Mike Linksvayer Date: Tue, 24 Oct 2017 16:24:38 -0700 Subject: [PATCH] rubocop --- spec/license_fields_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/license_fields_spec.rb b/spec/license_fields_spec.rb index f8b88bd..af0a177 100644 --- a/spec/license_fields_spec.rb +++ b/spec/license_fields_spec.rb @@ -6,7 +6,7 @@ describe 'license fillable fields' do licenses.each do |license| context "The #{license['title']} license" do it 'should only contain supported fillable fields' do - matches = license['content'][0,1000].scan(/\[([a-z]+)\]/) + matches = license['content'][0, 1000].scan(/\[([a-z]+)\]/) extra_fields = matches.flatten - (fields.map { |f| f['name'] }) expect(extra_fields).to be_empty end