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:
parent
263764d13a
commit
5a76d08733
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue