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
112
112
end
113
113
114
114
def save_comp_yaml ( filename = nil )
115
- filename ||= "#{ Settings . target_dir } /completions.yaml "
115
+ filename ||= "#{ Settings . target_dir } /completions.yml "
116
116
File . write filename , completions . to_yaml
117
117
say "created !txtgrn!#{ filename } "
118
118
say ""
Original file line number Diff line number Diff line change 1
- created spec/tmp/completions.yaml
1
+ created spec/tmp/completions.yml
2
2
3
3
This file can be converted to a completions script using the completely gem.
Original file line number Diff line number Diff line change 106
106
end
107
107
108
108
context "with yaml subcommand" do
109
- it "creates completions.yaml " do
109
+ it "creates completions.yml " do
110
110
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' )
112
112
end
113
113
end
114
114
You can’t perform that action at this time.
0 commit comments