File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 33module 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
Original file line number Diff line number Diff line change 33module 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments