File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ def completions_function
112112 end
113113
114114 def save_comp_yaml ( filename = nil )
115- filename ||= "#{ Settings . target_dir } /completions.yaml "
115+ filename ||= "#{ Settings . target_dir } /completions.yml "
116116 File . write filename , completions . to_yaml
117117 say "created !txtgrn!#{ filename } "
118118 say ""
Original file line number Diff line number Diff line change 1- created spec/tmp/completions.yaml
1+ created spec/tmp/completions.yml
22
33This file can be converted to a completions script using the completely gem.
Original file line number Diff line number Diff line change 106106 end
107107
108108 context "with yaml subcommand" do
109- it "creates completions.yaml " do
109+ it "creates completions.yml " do
110110 expect { subject . run %w[ add comp yaml ] } . to output_approval ( 'cli/add/comp-yaml' )
111- expect ( File . read "#{ target_dir } /completions.yaml " ) . to match_approval ( 'cli/add/comp-yaml-file' )
111+ expect ( File . read "#{ target_dir } /completions.yml " ) . to match_approval ( 'cli/add/comp-yaml-file' )
112112 end
113113 end
114114
You can’t perform that action at this time.
0 commit comments