From: Jacob Helwig Date: Mon, 25 Jun 2018 15:31:30 +0000 (-0700) Subject: Remove Rubocop Lint/AmbiguousBlockAssociation violation X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=57627232e03efb177cf9c4c65de1e23417516fb5;p=puppet-sshkeys_core.git Remove Rubocop Lint/AmbiguousBlockAssociation violation --- diff --git a/spec/unit/provider/sshkey/parsed_spec.rb b/spec/unit/provider/sshkey/parsed_spec.rb index 59a8446..436b632 100644 --- a/spec/unit/provider/sshkey/parsed_spec.rb +++ b/spec/unit/provider/sshkey/parsed_spec.rb @@ -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