Skip to content

Commit 5e92177

Browse files
authored
Merge pull request #1009 from chef/macos
Signed-off-by: Tim Smith <[email protected]>
2 parents dd57896 + 3d5866f commit 5e92177

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

spec/unit/compressor_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
module Omnibus
44
describe Compressor do
55
describe ".for_current_system" do
6-
context "on Mac OS X" do
7-
before { stub_ohai(platform: "mac_os_x", version: "10.15") }
6+
context "on macOS" do
7+
before { stub_ohai(platform: "mac_os_x") }
88

99
context "when :dmg is activated" do
1010
it "prefers dmg" do

spec/unit/packager_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
module Omnibus
44
describe Packager do
55
describe ".for_current_system" do
6-
context "on Mac OS X" do
7-
before { stub_ohai(platform: "mac_os_x", version: "10.15") }
6+
context "on macOS" do
7+
before { stub_ohai(platform: "mac_os_x") }
88
it "prefers PKG" do
99
expect(described_class.for_current_system).to eq([Packager::PKG])
1010
end

spec/unit/project_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ module Omnibus
235235
end
236236
end
237237

238-
context "when on OS X" do
239-
let(:fauxhai_options) { { platform: "mac_os_x", version: "10.15" } }
238+
context "when on macOS" do
239+
let(:fauxhai_options) { { platform: "mac_os_x" } }
240240
it "returns a generic iteration" do
241241
expect(subject.build_iteration).to eq(1)
242242
end

spec/unit/software_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ module Omnibus
190190
end
191191
end
192192

193-
context "on mac_os_x" do
194-
before { stub_ohai(platform: "mac_os_x", version: "10.13") }
193+
context "on macOS" do
194+
before { stub_ohai(platform: "mac_os_x") }
195195

196196
it "sets the defaults" do
197197
expect(subject.with_standard_compiler_flags).to eq(

0 commit comments

Comments
 (0)