spec/unit/virtus/model_spec.rb in virtus-1.0.0.beta4 vs spec/unit/virtus/model_spec.rb in virtus-1.0.0.beta5
- old
+ new
@@ -34,10 +34,10 @@
context 'with a class' do
subject { Class.new }
before do
subject.send(:include, mod)
- subject.attribute :name, String
+ subject.attribute :name
end
it_behaves_like 'a model with constructor'
it_behaves_like 'a model with strict mode turned off'