diff --git a/spec/rubocop/cop/naming/variable_number_spec.rb b/spec/rubocop/cop/naming/variable_number_spec.rb index 1291f8a506d..76e3021fe09 100644 --- a/spec/rubocop/cop/naming/variable_number_spec.rb +++ b/spec/rubocop/cop/naming/variable_number_spec.rb @@ -123,7 +123,7 @@ def method1; end it_behaves_like 'accepts', 'normalcase', '_foo' it_behaves_like 'accepts', 'normalcase', '@foo' it_behaves_like 'accepts', 'normalcase', '@__foo__' - it_behaves_like 'accepts', 'snake_case', 'emparejó' + it_behaves_like 'accepts', 'normalcase', 'emparejó' it 'registers an offense for snake case numbering in symbol' do expect_offense(<<~RUBY) @@ -183,7 +183,7 @@ def method_1; end it_behaves_like 'accepts', 'non_integer', '_' it_behaves_like 'accepts', 'non_integer', '_foo' it_behaves_like 'accepts', 'non_integer', '@__foo__' - it_behaves_like 'accepts', 'snake_case', 'emparejó' + it_behaves_like 'accepts', 'non_integer', 'emparejó' it 'registers an offense for snake case numbering in symbol' do expect_offense(<<~RUBY)