mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
test/abstract_command_spec: fix Style/RedundantSelf error
This commit is contained in:
parent
25d8714c02
commit
d5b335a977
@ -49,7 +49,7 @@ RSpec.describe Homebrew::AbstractCommand do
|
|||||||
describe "when command name is overridden" do
|
describe "when command name is overridden" do
|
||||||
before do
|
before do
|
||||||
tac = Class.new(described_class) do
|
tac = Class.new(described_class) do
|
||||||
self.define_singleton_method(:command_name) { "t-a-c" }
|
define_singleton_method(:command_name) { "t-a-c" }
|
||||||
define_method(:run) do
|
define_method(:run) do
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user