Sha256: e0eb6595c096c2b6f27d13a89a3582a3fade36949a6c11e8b1ba57232781c29b

Contents?: true

Size: 500 Bytes

Versions: 10

Compression:

Stored size: 500 Bytes

Contents

require 'spec_helper'

describe Virtus::Attribute::Collection, '#coerce_and_append_member' do
  subject { object.coerce_and_append_member(collection, entry) }

  let(:object)     { described_class.new('stuff') }
  let(:collection) { mock('collection')           }
  let(:entry)      { mock('entry')                }

  specify do
    expect { subject }.to raise_error(
      NotImplementedError,
      "Virtus::Attribute::Collection#coerce_and_append_member has not been implemented"
    )
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

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