Permalink
Browse files

Update test to match new non-sorting of attributes.

  • Loading branch information...
1 parent 263764d commit 5a76d08733da72cf1ee808a38304a9927e734765 @BMorearty BMorearty committed Sep 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/generators/scaffold_controller_generator_test.rb
@@ -50,7 +50,7 @@ def test_controller_skeleton_is_created
end
assert_match(/def user_params/, content)
- assert_match(/params\.require\(:user\)\.permit\(:age, :name\)/, content)
+ assert_match(/params\.require\(:user\)\.permit\(:name, :age\)/, content)
end
end

0 comments on commit 5a76d08

Please sign in to comment.