spec/unit/virtus/attribute/default_spec.rb in virtus-0.2.0 vs spec/unit/virtus/attribute/default_spec.rb in virtus-0.3.0
- old
+ new
@@ -21,10 +21,10 @@
before do
options.update(:default => default)
end
- it { should be_instance_of(Virtus::Attribute::DefaultValue) }
+ it { should be_instance_of(Virtus::Attribute::DefaultValue::FromClonable) }
its(:attribute) { should be(object) }
its(:value) { should be(default) }
end