Sha256: 3aaaedf616851a33e922e169ad0d8453ec603be2d0ab54ac6b2f1f56d3c7dc8c

Contents?: true

Size: 234 Bytes

Versions: 2

Compression:

Stored size: 234 Bytes

Contents

require 'test_helper'

class Superstore::Types::ArrayTypeTest < Superstore::Types::TestCase
  test 'cast_value' do
    assert_equal ['x', 'y'], type.cast_value(['x', 'y'].to_set)
    assert_equal ['x'], type.cast_value('x')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
superstore-3.0.0 test/unit/types/array_type_test.rb
superstore-2.5.0 test/unit/types/array_type_test.rb