Utils::Copy: Fix tests for generic OS

This commit is contained in:
Daiki Mizukami 2024-06-12 19:30:04 +09:00
parent 8e8d0c0248
commit e4fefc94eb
No known key found for this signature in database
GPG Key ID: 10478E598B944AA2

View File

@ -75,7 +75,7 @@ RSpec.describe Utils::Copy do
end end
context "when running on Linux or macOS Ventura or earlier" do context "when running on Linux or macOS Ventura or earlier" do
include_context "with macOS version", "13" include_context "with macOS version", "13" if OS.mac?
include_examples "copies files", method_name include_examples "copies files", method_name
@ -139,7 +139,7 @@ RSpec.describe Utils::Copy do
end end
context "when running on Linux or macOS Ventura or earlier" do context "when running on Linux or macOS Ventura or earlier" do
include_context "with macOS version", "13" include_context "with macOS version", "13" if OS.mac?
include_examples "copies directory" include_examples "copies directory"
end end
end end