aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_integration_cmds.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-09-18 19:57:19 +0100
committerMike McQuaid2016-09-18 19:57:19 +0100
commit3f9cce0a03e967d2e7bcb7cd16bbc898c1a35708 (patch)
tree609a33441201227f7a6a81bcb61d8a3d17e2c8a3 /Library/Homebrew/test/test_integration_cmds.rb
parentf4a8d28819f1fee73fcc63d08e70cb36eecdfb20 (diff)
downloadbrew-3f9cce0a03e967d2e7bcb7cd16bbc898c1a35708.tar.bz2
Use new "macOS" naming where appropriate.
Not quite a mass replacement as I've used OS X and Mac OS X where describing specific older versions and added compatibility methods for things in the DSL.
Diffstat (limited to 'Library/Homebrew/test/test_integration_cmds.rb')
-rw-r--r--Library/Homebrew/test/test_integration_cmds.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb
index 43b8689af..11eb6c69d 100644
--- a/Library/Homebrew/test/test_integration_cmds.rb
+++ b/Library/Homebrew/test/test_integration_cmds.rb
@@ -44,8 +44,8 @@ class IntegrationCommandTests < Homebrew::TestCase
end
end
- def needs_osx
- skip "Not on OS X" unless OS.mac?
+ def needs_macos
+ skip "Not on MacOS" unless OS.mac?
end
def cmd_id_from_args(args)
@@ -729,14 +729,14 @@ class IntegrationCommandTests < Homebrew::TestCase
def test_cask
needs_test_cmd_taps
- needs_osx
+ needs_macos
setup_remote_tap("caskroom/cask")
cmd("cask", "list")
end
def test_services
needs_test_cmd_taps
- needs_osx
+ needs_macos
setup_remote_tap("homebrew/services")
assert_equal "Warning: No services available to control with `brew services`",
cmd("services", "list")