Add German translations for PyLint adapter with basic spec
This commit is contained in:
14
spec/helpers/yaml_spec.rb
Normal file
14
spec/helpers/yaml_spec.rb
Normal file
@ -0,0 +1,14 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'find'
|
||||
require 'yaml'
|
||||
|
||||
describe 'yaml config files' do
|
||||
Find.find(__dir__, 'config') do |path|
|
||||
next unless path =~ /.*.\.yml/
|
||||
|
||||
it "loads #{path} without syntax error" do
|
||||
expect { YAML.load_file(path) }.not_to raise_error
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user