Skip to content

Commit 32651dc

Browse files
committed
bump version
1 parent 2fc2900 commit 32651dc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/lib/code_ownership/cli_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)