summaryrefslogtreecommitdiffstats
path: root/CLI/ruby/spec
diff options
context:
space:
mode:
authora14m <[email protected]>2020-12-14 15:18:33 +0100
committera14m <[email protected]>2020-12-14 19:12:08 +0100
commite674394831d64aa5f64b9ca2b6a67ca16704e358 (patch)
tree8580c5ba9fb5ce4049f28d4625ff21bb42392d01 /CLI/ruby/spec
parente706a28b85b47d9c6944cff691b88101c1605138 (diff)
Ignore rubocop violation about any instance
Diffstat (limited to 'CLI/ruby/spec')
-rw-r--r--CLI/ruby/spec/game_of_life_spec.rb2
1 files changed, 2 insertions, 0 deletions
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