Sha256: 737164cf448b9ff0732680a8accb9741b5ab96a4cad43b6704090380eb0ccad7

Contents?: true

Size: 217 Bytes

Versions: 10

Compression:

Stored size: 217 Bytes

Contents

require 'spec_helper'

describe Virtus::Attribute::Collection, '#new_collection' do
  subject { object.new_collection }

  let(:object) { Virtus::Attribute::Set.new('stuff') }

  it { should be_instance_of(Set) }
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
virtus-0.5.5 spec/unit/virtus/attribute/collection/new_collection_spec.rb
virtus-0.5.4 spec/unit/virtus/attribute/collection/new_collection_spec.rb
virtus-0.5.3 spec/unit/virtus/attribute/collection/new_collection_spec.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/collection/new_collection_spec.rb
virtus-0.5.2 spec/unit/virtus/attribute/collection/new_collection_spec.rb
virtus-0.5.1 spec/unit/virtus/attribute/collection/new_collection_spec.rb
virtus-0.5.0 spec/unit/virtus/attribute/collection/new_collection_spec.rb
virtus-0.4.2 spec/unit/virtus/attribute/collection/new_collection_spec.rb
virtus-0.4.1 spec/unit/virtus/attribute/collection/new_collection_spec.rb
virtus-0.4.0 spec/unit/virtus/attribute/collection/new_collection_spec.rb