Sha256: e71cd20e50eb448243db4f5cf5ca9cd288f02ceb9b3df4550643d4d45988b991

Contents?: true

Size: 335 Bytes

Versions: 19

Compression:

Stored size: 335 Bytes

Contents

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

19 entries across 19 versions & 1 rubygems

Version Path
spout-0.11.0 lib/spout/tests/variable_display_name_length.rb
spout-0.11.0.rc lib/spout/tests/variable_display_name_length.rb
spout-0.11.0.beta3 lib/spout/tests/variable_display_name_length.rb
spout-0.11.0.beta2 lib/spout/tests/variable_display_name_length.rb
spout-0.11.0.beta1 lib/spout/tests/variable_display_name_length.rb
spout-0.10.2 lib/spout/tests/variable_display_name_length.rb
spout-0.10.1 lib/spout/tests/variable_display_name_length.rb
spout-0.10.0 lib/spout/tests/variable_display_name_length.rb
spout-0.10.0.rc3 lib/spout/tests/variable_display_name_length.rb
spout-0.10.0.rc2 lib/spout/tests/variable_display_name_length.rb
spout-0.10.0.rc lib/spout/tests/variable_display_name_length.rb
spout-0.10.0.beta10 lib/spout/tests/variable_display_name_length.rb
spout-0.10.0.beta9 lib/spout/tests/variable_display_name_length.rb
spout-0.10.0.beta8 lib/spout/tests/variable_display_name_length.rb
spout-0.10.0.beta7 lib/spout/tests/variable_display_name_length.rb
spout-0.10.0.beta6 lib/spout/tests/variable_display_name_length.rb
spout-0.10.0.beta4 lib/spout/tests/variable_display_name_length.rb
spout-0.10.0.beta3 lib/spout/tests/variable_display_name_length.rb
spout-0.10.0.beta2 lib/spout/tests/variable_display_name_length.rb