mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Swap assertion order for better reporting
`assert_directory("test/system")` may pass even if `assert_file("test/system/.keep")` fails.
This commit is contained in:
parent
cc5f077f09
commit
9c016810d0
1 changed files with 1 additions and 1 deletions
|
@ -919,8 +919,8 @@ class AppGeneratorTest < Rails::Generators::TestCase
|
|||
def test_system_tests_directory_generated
|
||||
run_generator
|
||||
|
||||
assert_file("test/system/.keep")
|
||||
assert_directory("test/system")
|
||||
assert_file("test/system/.keep")
|
||||
end
|
||||
|
||||
unless Gem.win_platform?
|
||||
|
|
Loading…
Reference in a new issue