Sha256: 259e582f44d41bf22d08a3f03efe3a770356a30e5180e6945754825730f997b6
Contents?: true
Size: 479 Bytes
Versions: 13
Compression:
Stored size: 479 Bytes
Contents
# frozen_string_literal: true require "spout/tests/json_helper" module Spout module Tests module DomainSpecified Dir.glob("variables/**/*.json").each do |file| if json_value(file, :type) == "choices" define_method("test_domain_specified:"+file) do domain_name = json_value(file, :domain) assert domain_name != nil, "Variables of type choices need to specify a domain." end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems