module GdsApi::TestHelpers::ContentItemHelpers
def titleize_base_path(base_path, options = {})
def titleize_base_path(base_path, options = {}) if options[:title_case] base_path.tr("-", " ").gsub(/\b./, &:upcase) else base_path.gsub(%r{[-/]}, " ").strip.capitalize end end