Utils::Copy: Fix tests for generic OS
This commit is contained in:
parent
8e8d0c0248
commit
e4fefc94eb
@ -75,7 +75,7 @@ RSpec.describe Utils::Copy do
|
||||
end
|
||||
|
||||
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
|
||||
|
||||
@ -139,7 +139,7 @@ RSpec.describe Utils::Copy do
|
||||
end
|
||||
|
||||
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"
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user