From e674394831d64aa5f64b9ca2b6a67ca16704e358 Mon Sep 17 00:00:00 2001 From: a14m Date: Mon, 14 Dec 2020 15:18:33 +0100 Subject: Ignore rubocop violation about any instance --- CLI/ruby/spec/game_of_life_spec.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CLI/ruby') diff --git a/CLI/ruby/spec/game_of_life_spec.rb b/CLI/ruby/spec/game_of_life_spec.rb index 285b766..5e99ca8 100644 --- a/CLI/ruby/spec/game_of_life_spec.rb +++ b/CLI/ruby/spec/game_of_life_spec.rb @@ -151,6 +151,7 @@ RSpec.describe GameOfLife do describe ".render" do let(:universe) { GameOfLife::Universe.new(width: 3, height: 3) } + # rubocop:disable RSpec/AnyInstance it "renders the game of life presentation" do stub_const("BANNER", "") stub_const("DELAY", 100.0) @@ -161,5 +162,6 @@ RSpec.describe GameOfLife do described_class.render(universe) end + # rubocop:enable RSpec/AnyInstance end end -- cgit v1.2.3