From b77fd52ca3211713985d726f2325e922305d4310 Mon Sep 17 00:00:00 2001 From: Joseph Sak Date: Mon, 26 Jan 2026 13:03:03 -0700 Subject: [PATCH] Fix smoke test to use existing CodeOwnership method 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. --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index dfa05f5..f840785 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -73,7 +73,7 @@ ruby -e "require 'code_ownership'; puts 'Version: ' + CodeOwnership::VERSION" # Run a simple functionality test - ruby -e "require 'code_ownership'; CodeOwnership.file_owner_team_names('lib/code_ownership.rb')" || true + ruby -e "require 'code_ownership'; puts CodeOwnership.for_file('lib/code_ownership.rb').inspect" echo "✅ Successfully tested ${{ matrix.ruby-platform }} gem"