test/reform_test.rb in reform-2.1.0.rc1 vs test/reform_test.rb in reform-2.1.0
- old
+ new
@@ -87,10 +87,10 @@
end
describe "#errors" do
before { form.validate({})}
- it { form.errors.must_be_kind_of Reform::Form::Errors }
+ it { form.errors.must_be_kind_of Reform::Form::ActiveModel::Errors }
it { form.errors.messages.must_equal({}) }
it do
form.validate({"name"=>""})