more updates for setting output

This commit is contained in:
Ethan Dennis
2023-02-28 09:18:02 -08:00
committed by GitHub
parent 94acf2f4f2
commit 6acf71f389
7 changed files with 25 additions and 8 deletions

View File

@@ -104,6 +104,6 @@ RSpec.describe Command do
COMMENT
end
it { expect { subject }.to output(/::set-output name=command::audit/).to_stdout }
it { expect { subject }.to change { File.readlines(ENV["GITHUB_OUTPUT"], chomp: true).last }.to("command=audit") }
end
end