Sha256: 38f77c2a5aed315ed939cd18b8840b8d02bdb898918c961d51e97da1ef450d1c
Contents?: true
Size: 313 Bytes
Versions: 20
Compression:
Stored size: 313 Bytes
Contents
# frozen_string_literal: true module Spout module Tests module FormNameUniqueness def test_form_name_uniqueness files = Dir.glob("forms/**/*.json").collect{|file| file.split('/').last.downcase } assert_equal [], files.select{ |f| files.count(f) > 1 }.uniq end end end end
Version data entries
20 entries across 20 versions & 1 rubygems