Sha256: 1dbbcf2a817c75abbaec1971f5b54fec76e7e3b466cf246635c450a1c9a25df7
Contents?: true
Size: 405 Bytes
Versions: 5
Compression:
Stored size: 405 Bytes
Contents
require 'spec_helper' describe Virtus::Attribute::Hash do it_should_behave_like 'Attribute' do let(:attribute_name) { :settings } let(:attribute_value) { Hash[:one => 1] } let(:attribute_value_other) { Hash[:two => 2] } let(:attribute_default) { Hash.new } let(:attribute_default_proc) { lambda { |instance, attribute| attribute.name == :settings } } end end
Version data entries
5 entries across 5 versions & 1 rubygems