diff options
author | Jacob Helwig <jacob@technosorcery.net> | 2018-06-22 09:54:12 -0700 |
---|---|---|
committer | Jacob Helwig <jacob@technosorcery.net> | 2018-06-22 09:54:12 -0700 |
commit | 0f09c0c51948f1c1273a097f8da2e40d7dc93052 (patch) | |
tree | 7117725d46ebb61f7e5a1fda4f85cd5a26154465 /spec/unit/provider/sshkey | |
parent | 2ea8606920156a3188def27f1ff906610f61f3a7 (diff) | |
download | puppet-sshkeys_core-0f09c0c51948f1c1273a097f8da2e40d7dc93052.tar.gz puppet-sshkeys_core-0f09c0c51948f1c1273a097f8da2e40d7dc93052.tar.bz2 |
Remove Rubocop Style/BlockDelimiters violations
Diffstat (limited to 'spec/unit/provider/sshkey')
-rw-r--r-- | spec/unit/provider/sshkey/parsed_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/provider/sshkey/parsed_spec.rb b/spec/unit/provider/sshkey/parsed_spec.rb index 6a86f0c..59a8446 100644 --- a/spec/unit/provider/sshkey/parsed_spec.rb +++ b/spec/unit/provider/sshkey/parsed_spec.rb @@ -3,8 +3,8 @@ require 'spec_helper' describe 'sshkey parsed provider' do subject { provider } - let :type do Puppet::Type.type(:sshkey) end - let :provider do type.provider(:parsed) end + let(:type) { Puppet::Type.type(:sshkey) } + let(:provider) { type.provider(:parsed) } after :each do subject.clear @@ -40,9 +40,9 @@ describe 'sshkey parsed provider' do context 'with the sample file' do ['sample', 'sample_with_blank_lines'].each do |sample_file| - let :fixture do my_fixture(sample_file) end + let(:fixture) { my_fixture(sample_file) } - before :each do subject.stubs(:default_target).returns(fixture) end + before(:each) { subject.stubs(:default_target).returns(fixture) } it 'parses to records on prefetch' do expect(subject.target_records(fixture)).to be_empty |