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