brew/Library/Homebrew/test/cmd/services_spec.rb

16 lines
401 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require "cmd/services"
2024-04-02 11:43:41 -07:00
require "cmd/shared_examples/args_parse"
RSpec.describe Homebrew::Cmd::Services, :needs_daemon_manager do
it_behaves_like "parseable arguments"
2017-02-23 06:07:24 +01:00
it "allows controlling services", :integration_test do
2017-02-23 06:07:24 +01:00
expect { brew "services", "list" }
.to not_to_output.to_stderr
2017-02-23 06:07:24 +01:00
.and not_to_output.to_stdout
.and be_a_success
end
end