Skip to content

Commit

Permalink
Fix default conf spec
Browse files Browse the repository at this point in the history
`load_file` throws obsoletion errors
  • Loading branch information
pirj committed Dec 29, 2022
1 parent c9fedfe commit 540a9ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/project/default_config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

RSpec.describe 'config/default.yml' do
subject(:default_config) do
RuboCop::ConfigLoader.load_file('config/default.yml')
RuboCop::ConfigLoader.load_yaml_configuration('config/default.yml')
end

let(:namespaces) do
Expand Down

0 comments on commit 540a9ef

Please sign in to comment.