Sha256: b4049bcfad81740f10b6c23e50967f758a896961c2173c4d3aede09b9255c4af

Contents?: true

Size: 364 Bytes

Versions: 17

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true

module Spout
  module Tests
    module VariableDisplayNameLength
      Dir.glob("variables/**/*.json").each do |file|
        define_method("test_variable_display_name_length: "+file) do
          assert_operator 255, :>=, (begin JSON.parse(File.read(file))["display_name"].size rescue 0 end)
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
spout-1.0.0.beta1 lib/spout/tests/variable_display_name_length.rb
spout-0.14.1 lib/spout/tests/variable_display_name_length.rb
spout-0.14.0 lib/spout/tests/variable_display_name_length.rb
spout-0.14.0.rc lib/spout/tests/variable_display_name_length.rb
spout-0.14.0.beta3 lib/spout/tests/variable_display_name_length.rb
spout-0.14.0.beta2 lib/spout/tests/variable_display_name_length.rb
spout-0.14.0.beta1 lib/spout/tests/variable_display_name_length.rb
spout-0.13.0 lib/spout/tests/variable_display_name_length.rb
spout-0.13.0.beta2 lib/spout/tests/variable_display_name_length.rb
spout-0.13.0.beta1 lib/spout/tests/variable_display_name_length.rb
spout-0.12.1 lib/spout/tests/variable_display_name_length.rb
spout-0.12.0 lib/spout/tests/variable_display_name_length.rb
spout-0.12.0.rc2 lib/spout/tests/variable_display_name_length.rb
spout-0.12.0.rc lib/spout/tests/variable_display_name_length.rb
spout-0.12.0.beta2 lib/spout/tests/variable_display_name_length.rb
spout-0.12.0.beta1 lib/spout/tests/variable_display_name_length.rb
spout-0.11.1 lib/spout/tests/variable_display_name_length.rb