Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Damn ordered hashes in 1.9 broke tests (only tests, tho', no function…

…ality).
  • Loading branch information...
commit 84edd3292750030807e9178470f85bd232ed4871 1 parent fa6e8f9
@augustl augustl authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  test/jquery_validations_controller_output_test.rb
View
3  test/jquery_validations_controller_output_test.rb
@@ -51,7 +51,8 @@ def test_validation_on_attributes_without_form_field
get :new
assert_response :success
- assert @response.body.include?(%{{"messages": {}, "rules": {}}})
+ assert @response.body.include?(%{"messages": {}})
+ assert @response.body.include?(%{"rules": {}})
assert !@response.body.include?("post[unexisting_attribute]")
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.