spec/support/file_helpers.rb in LittleWeasel-5.0.5 vs spec/support/file_helpers.rb in LittleWeasel-5.0.6

- old
+ new

@@ -21,15 +21,15 @@ def locale_for(language:, region: nil) Locale.new(language: language, region: region).locale end - def region_dictionary_path language:, region: + def region_dictionary_path(language:, region:) file_name = locale_for language: language, region: region dictionary_path_for file_name: file_name end - def language_dictionary_path language: + def language_dictionary_path(language:) file_name = locale_for language: language dictionary_path_for file_name: file_name end # :reek:UtilityFunction - ignored, this is only for specs.