diff options
| author | a14m <[email protected]> | 2020-12-14 15:18:33 +0100 |
|---|---|---|
| committer | a14m <[email protected]> | 2020-12-14 19:12:08 +0100 |
| commit | e674394831d64aa5f64b9ca2b6a67ca16704e358 (patch) | |
| tree | 8580c5ba9fb5ce4049f28d4625ff21bb42392d01 /CLI | |
| parent | e706a28b85b47d9c6944cff691b88101c1605138 (diff) | |
Ignore rubocop violation about any instance
Diffstat (limited to 'CLI')
| -rw-r--r-- | CLI/ruby/spec/game_of_life_spec.rb | 2 |
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 |
