mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-15 19:56:59 +08:00

There’s too many warnings to start enabling `rubocop-rspec` by default but let’s at least apply the cleanups it does automatically.
15 lines
344 B
Ruby
15 lines
344 B
Ruby
require "compat/requirements"
|
|
|
|
describe MPIRequirement, :needs_compat do
|
|
describe "::new" do
|
|
subject { described_class.new(wrappers + tags) }
|
|
|
|
let(:wrappers) { [:cc, :cxx, :f77] }
|
|
let(:tags) { [:optional, "some-other-tag"] }
|
|
|
|
it "stores wrappers as tags" do
|
|
expect(subject.tags).to eq(wrappers + tags)
|
|
end
|
|
end
|
|
end
|