From 3c243fa747202f724c57680cb2777f8d04c387e8 Mon Sep 17 00:00:00 2001 From: darthjee Date: Mon, 29 Jul 2024 15:57:49 -0300 Subject: [PATCH] Fix ContextWording --- utils/font_helper/.rubocop_todo.yml | 7 ------- utils/font_helper/spec/app/font_helper/font_spec.rb | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/utils/font_helper/.rubocop_todo.yml b/utils/font_helper/.rubocop_todo.yml index e3047a8..f6c5a70 100644 --- a/utils/font_helper/.rubocop_todo.yml +++ b/utils/font_helper/.rubocop_todo.yml @@ -6,13 +6,6 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 2 -# Configuration parameters: Prefixes, AllowedPatterns. -# Prefixes: when, with, without -RSpec/ContextWording: - Exclude: - - 'spec/app/font_helper/font_spec.rb' - # Offense count: 3 # Configuration parameters: AllowedConstants. Style/Documentation: diff --git a/utils/font_helper/spec/app/font_helper/font_spec.rb b/utils/font_helper/spec/app/font_helper/font_spec.rb index 7d65180..aa977a3 100644 --- a/utils/font_helper/spec/app/font_helper/font_spec.rb +++ b/utils/font_helper/spec/app/font_helper/font_spec.rb @@ -19,7 +19,7 @@ describe FontHelper::Font do end end - context 'where there is already a character' do + context 'when there is already a character' do let(:character) { build(:character, code: 50) } it do @@ -29,7 +29,7 @@ describe FontHelper::Font do end end - context 'where there is already the same character' do + context 'when there is already the same character' do let(:character) { build(:character) } it do