Sha256: dfd1cfbd88813710e37d75dbdb5e1f3e6692d56a6f51e353879e6b343c476cae
Contents?: true
Size: 342 Bytes
Versions: 11
Compression:
Stored size: 342 Bytes
Contents
require 'spec_helper' describe Virtus::ValueObject::ClassMethods, '#allowed_writer_methods' do subject { object.allowed_writer_methods } let(:object) do Class.new do include Virtus::ValueObject attribute :virtus_attribute, String end end it { should include('virtus_attribute=') } it { should be_frozen } end
Version data entries
11 entries across 11 versions & 2 rubygems