File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ def initialize
183183 expect ( CodeOwnership ::Cli ) . to receive ( :puts ) . with ( <<~MSG )
184184 Team: My Team
185185 Team YML: config/teams/my_team.yml
186- Reasons :
186+ Description :
187187 - Owner specified in Team YML as an owned_glob `app/**/*.rb`
188188 MSG
189189 subject
@@ -220,17 +220,17 @@ def initialize
220220 subject
221221 end
222222
223- context 'when run with multiple files ' do
223+ context 'when run with --verbose ' do
224224 let ( :argv ) { [ 'for_file' , '--json' , '--verbose' , 'app/services/my_file.rb' ] }
225225 it 'outputs JSONified information to the console' do
226226 json = {
227227 team_name : 'My Team' ,
228228 team_yml : 'config/teams/my_team.yml' ,
229- reasons : [ 'Owner specified in Team YML as an owned_glob `app/**/*.rb`' ]
229+ description : [ 'Owner specified in Team YML as an owned_glob `app/**/*.rb`' ]
230230 }
231231 expect ( CodeOwnership ::Cli ) . to receive ( :puts ) . with ( json . to_json )
232232 subject
233- end
233+ end
234234 end
235235 end
236236
You can’t perform that action at this time.
0 commit comments