Skip to content

Commit f1625cb

Browse files
authored
Fix smoke test to use existing CodeOwnership method (#157)
The smoke test was calling `file_owner_team_names` which doesn't exist. Replace with `for_file` which is the actual API method for getting the owning team of a file.
1 parent aec2355 commit f1625cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
ruby -e "require 'code_ownership'; puts 'Version: ' + CodeOwnership::VERSION"
7474
7575
# Run a simple functionality test
76-
ruby -e "require 'code_ownership'; CodeOwnership.file_owner_team_names('lib/code_ownership.rb')" || true
76+
ruby -e "require 'code_ownership'; puts CodeOwnership.for_file('lib/code_ownership.rb').inspect"
7777
7878
echo "✅ Successfully tested ${{ matrix.ruby-platform }} gem"
7979

0 commit comments

Comments
 (0)