]> gitweb.fluxo.info Git - puppet-sshkeys_core.git/commitdiff
Remove Rubocop Lint/AmbiguousBlockAssociation violation
authorJacob Helwig <jacob@technosorcery.net>
Mon, 25 Jun 2018 15:31:30 +0000 (08:31 -0700)
committerJacob Helwig <jacob@technosorcery.net>
Mon, 25 Jun 2018 15:31:30 +0000 (08:31 -0700)
spec/unit/provider/sshkey/parsed_spec.rb

index 59a8446ec80c4a6b2d7039e7392f4d9b145fbd3a..436b632f92a6e4b0d6869ebbb039e77b55f63e5e 100644 (file)
@@ -50,7 +50,7 @@ describe 'sshkey parsed provider' do
 
         records = subject.target_records(fixture)
         expect(records).to be_an Array
-        expect(records).to be_all { |x| expect(x).to be_an Hash }
+        expect(records).to(be_all { |x| expect(x).to be_an(Hash) })
       end
 
       it 'reconstitutes the file from records' do