forked from rails/rails
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assert exact file output for plugins too
In a [previous commit][1], the App Generator skeleton test was updated to verify the exact file output when generating a new application. This commit applies the same change to the Plugin Generator. At first, I was hesitant to add the list of dummy app files to the `default_files` for the Plugin Generator test, however it quickly became apparent that it was a good idea. Making this change exposed that recent file additions to the App Generator were added to the plugin's dummy app as well. Things like CI files, rubocop configuration, and a brakeman command should not be created for a dummy app, and are now properly excluded. Similar to the App Generator commit, this change also removes tests that are now redundant due to the skeleton test verifying the exact list of files generated. [1]: e5e4b80
- Loading branch information
1 parent
e5e4b80
commit c278684
Showing
2 changed files
with
60 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters