spec/formulaic/form_spec.rb in formulaic-0.0.6 vs spec/formulaic/form_spec.rb in formulaic-0.1.0

- old
+ new

@@ -1,7 +1,7 @@ require 'spec_helper' describe Formulaic::Form do it 'throws an error if it does not know how to fill an attribute type' do - expect { Formulaic::Form.new(nil, { invalid: nil }) }.to raise_error(Formulaic::Form::InvalidAttributeTypeError) + expect { Formulaic::Form.new(nil, nil, { invalid: nil }) }.to raise_error(Formulaic::Form::InvalidAttributeTypeError) end end