Skip to content
Snippets Groups Projects
Commit 0c5ddf11 authored by Markus Reiter's avatar Markus Reiter Committed by GitHub
Browse files

Merge pull request #2121 from reitermarkus/spec-services

Convert `brew services` test to spec.
parents 2a45dfdf 86529534
No related branches found
No related tags found
No related merge requests found
describe "brew services", :integration_test, :needs_macos, :needs_official_cmd_taps do
it "allows controlling services" do
setup_remote_tap "homebrew/services"
expect { brew "services", "list" }
.to output("Warning: No services available to control with `brew services`\n").to_stderr
.and not_to_output.to_stdout
.and be_a_success
end
end
require "testing_env"
class IntegrationCommandTestServices < IntegrationCommandTestCase
def test_services
needs_test_cmd_taps
needs_macos
setup_remote_tap("homebrew/services")
assert_equal "Warning: No services available to control with `brew services`",
cmd("services", "list")
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment