test/unit/action_tests.rb in much-rails-0.3.0 vs test/unit/action_tests.rb in much-rails-0.4.0
- old
+ new
@@ -197,10 +197,10 @@
if params[:validate_other_param] && params[:other_param].blank?
add_required_param_error(:other_param)
end
if params[:fail_custom_validation]
- errors[:custom_validation] << "ERROR1"
+ errors["custom_validation"] << "ERROR1"
end
end
on_before_call do
@before_call_called = true