File tree 2 files changed +3
-3
lines changed
lib/generators/suspenders
test/generators/suspenders
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class CiGenerator < Rails::Generators::Base
14
14
15
15
def ci_files
16
16
empty_directory ".github/workflows"
17
- template "ci.yml" , ".github/workflows/ci.yaml "
17
+ template "ci.yml" , ".github/workflows/ci.yml "
18
18
template "dependabot.yml" , ".github/dependabot.yaml"
19
19
end
20
20
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class CiGeneratorTest < Rails::Generators::TestCase
14
14
with_database "postgresql" do
15
15
run_generator
16
16
17
- assert_file app_root ( ".github/workflows/ci.yaml " )
17
+ assert_file app_root ( ".github/workflows/ci.yml " )
18
18
assert_file app_root ( ".github/dependabot.yaml" )
19
19
end
20
20
end
@@ -24,7 +24,7 @@ class CiGeneratorTest < Rails::Generators::TestCase
24
24
assert_raises Suspenders ::Generators ::DatabaseUnsupported ::Error , match : "This generator requires PostgreSQL" do
25
25
run_generator
26
26
27
- assert_no_file app_root ( ".github/workflows/ci.yaml " )
27
+ assert_no_file app_root ( ".github/workflows/ci.yml " )
28
28
assert_no_file app_root ( ".github/dependabot.yaml" )
29
29
end
30
30
end
You can’t perform that action at this time.
0 commit comments