diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 33d0c77c1..51cc227f8 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2022-11-07 13:03:03 UTC using RuboCop version 1.38.0. +# on 2022-11-07 13:04:30 UTC using RuboCop version 1.38.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -223,20 +223,20 @@ RSpec/ChangeByZero: RSpec/ContextWording: Enabled: false -# Offense count: 2 +# Offense count: 1 # Configuration parameters: IgnoredMetadata. RSpec/DescribeClass: Exclude: - - 'spec/models/member_spec.rb' - 'spec/services/timeline_service_spec.rb' -# Offense count: 13 +# Offense count: 33 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: SkipBlocks, EnforcedStyle. # SupportedStyles: described_class, explicit RSpec/DescribedClass: Exclude: - 'spec/models/like_spec.rb' + - 'spec/models/member_spec.rb' # Offense count: 13 # This cop supports unsafe autocorrection (--autocorrect-all). diff --git a/spec/models/member_spec.rb b/spec/models/member_spec.rb index 21a893018..324dd25d7 100644 --- a/spec/models/member_spec.rb +++ b/spec/models/member_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -describe 'member' do +describe Member do context 'valid member' do let!(:member) { FactoryBot.create(:member, login_name: 'hinemoa') }