Sha256: 7286e10695cd0f1fd1c7f0aae547ea616896ed6ff85229e8ee64ba70c69944d0
Contents?: true
Size: 319 Bytes
Versions: 7
Compression:
Stored size: 319 Bytes
Contents
# frozen_string_literal: true module Spout module Tests module DomainNameUniqueness def test_domain_name_uniqueness files = Dir.glob("domains/**/*.json").collect{|file| file.split('/').last.downcase } assert_equal [], files.select{ |f| files.count(f) > 1 }.uniq end end end end
Version data entries
7 entries across 7 versions & 1 rubygems