Skip to content

Commit

Permalink
rubocop: autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Oct 24, 2020
1 parent 703cecd commit 3d3c99c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/classes/hiera_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require 'spec_helper'
require 'puppet'

# rubocop:disable Security/YAMLLoad
describe 'hiera' do
context 'foss puppet 4' do
let(:facts) do
Expand Down Expand Up @@ -99,7 +100,6 @@
backend = YAML.load(content)[:yamll]
expect(backend[:datadir]).to eq('/etc/puppet/yamll_data/data')
end
# rubocop:disable RSpec/MultipleExpectations
it 'include eyaml backend' do
eyaml_backend = YAML.load(content)[:eyaml]
expect(eyaml_backend[:datadir]).to eq('/etc/puppetlabs/code/environments/%{::environment}/hieradata')
Expand Down Expand Up @@ -454,3 +454,4 @@
end
end
end
# rubocop:enable Security/YAMLLoad

0 comments on commit 3d3c99c

Please sign in to comment.