1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Update test to match new non-sorting of attributes.

This commit is contained in:
Brian Morearty 2012-09-23 08:54:45 -07:00
parent 263764d13a
commit 5a76d08733

View file

@ -50,7 +50,7 @@ class ScaffoldControllerGeneratorTest < Rails::Generators::TestCase
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