mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-16 11:39:58 +01:00
Fix ContextWording
This commit is contained in:
@@ -6,13 +6,6 @@
|
|||||||
# Note that changes in the inspected code, or installation of new
|
# Note that changes in the inspected code, or installation of new
|
||||||
# versions of RuboCop, may require this file to be generated again.
|
# 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
|
# Offense count: 3
|
||||||
# Configuration parameters: AllowedConstants.
|
# Configuration parameters: AllowedConstants.
|
||||||
Style/Documentation:
|
Style/Documentation:
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ describe FontHelper::Font do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'where there is already a character' do
|
context 'when there is already a character' do
|
||||||
let(:character) { build(:character, code: 50) }
|
let(:character) { build(:character, code: 50) }
|
||||||
|
|
||||||
it do
|
it do
|
||||||
@@ -29,7 +29,7 @@ describe FontHelper::Font do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'where there is already the same character' do
|
context 'when there is already the same character' do
|
||||||
let(:character) { build(:character) }
|
let(:character) { build(:character) }
|
||||||
|
|
||||||
it do
|
it do
|
||||||
|
|||||||
Reference in New Issue
Block a user