Merge pull request #13545 from apainintheneck/fix-flaky-version-test

cask/cmd/list_spec.rb: fix leaky version variable
This commit is contained in:
Bo Anderson 2022-07-12 00:49:26 +01:00 committed by GitHub
commit 45db161f41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,7 +246,7 @@ describe Cask::Cmd::List, :cask do
]
EOS
}
let(:original_macos_version) { MacOS.full_version.to_s }
let!(:original_macos_version) { MacOS.full_version.to_s }
before do
# Use a more limited symbols list to shorten the variations hash