Sha256: 33153aef1f8858b16c6e69604ba264455611c73becdd3900f0cf556b0f3f050d

Contents?: true

Size: 283 Bytes

Versions: 3

Compression:

Stored size: 283 Bytes

Contents

require 'spec_helper'

describe Virtus::Attribute::Array do
  it_should_behave_like 'Attribute' do
    let(:attribute_name)        { :colors }
    let(:attribute_value)       { [ 'red', 'green', 'blue' ] }
    let(:attribute_value_other) { [ 'orange', 'yellow', 'gray' ] }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
virtus-0.0.5 spec/unit/virtus/attribute/array_spec.rb
virtus-0.0.4 spec/unit/virtus/attribute/array_spec.rb
virtus-0.0.3 spec/unit/virtus/attribute/array_spec.rb