We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdaab70 commit bfa4480Copy full SHA for bfa4480
railties/test/generators/app_generator_test.rb
@@ -655,8 +655,16 @@ def test_both_brakeman_and_rubocop_binstubs_are_skipped_if_required
655
656
def test_inclusion_of_ci_files
657
run_generator
658
- assert_file ".github/workflows/ci.yml"
659
- assert_file ".github/dependabot.yml"
+ assert_file ".github/workflows/ci.yml" do |yaml|
+ assert_nothing_raised do
660
+ YAML.load(yaml)
661
+ end
662
663
+ assert_file ".github/dependabot.yml" do |yaml|
664
665
666
667
668
end
669
670
def test_ci_files_are_skipped_if_required
0 commit comments