Sha256: 80a9b1f014851298cdeb646507016fbd9398f20fa402cda2d4d721ba042bfdfc
Contents?: true
Size: 481 Bytes
Versions: 7
Compression:
Stored size: 481 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
7 entries across 7 versions & 1 rubygems