test/option_declaration_spec: Align test description with contents
This commit is contained in:
parent
f194b5e983
commit
38a427bf0d
@ -42,7 +42,7 @@ describe RuboCop::Cop::FormulaAudit::OptionDeclarations do
|
|||||||
RUBY
|
RUBY
|
||||||
end
|
end
|
||||||
|
|
||||||
it "reports an offense when `build.without?` is used for a conditional dependency" do
|
it "reports an offense when `build.with?` is used for a conditional dependency" do
|
||||||
expect_offense(<<~RUBY)
|
expect_offense(<<~RUBY)
|
||||||
class Foo < Formula
|
class Foo < Formula
|
||||||
depends_on "bar" if build.with?("baz")
|
depends_on "bar" if build.with?("baz")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user