brew/Library/Homebrew/test/cmd/setup-ruby_spec.rb
Mike McQuaid 76c4eb60ee
test/cmd: add more shell tests.
This should help ensure that these don't regress.
2025-06-03 15:24:19 +01:00

11 lines
287 B
Ruby

# frozen_string_literal: true
RSpec.describe "brew setup-ruby", type: :system do
it "installs and configures Homebrew's Ruby", :integration_test do
expect { brew_sh "setup-ruby" }
.to output("").to_stdout
.and not_to_output.to_stderr
.and be_a_success
end
end