diff --git a/.rubocop.yml b/.rubocop.yml index 1e4ff93cb..70df9a03e 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -365,6 +365,9 @@ RSpec/OverwritingSetup: RSpec/RepeatedExample: Enabled: true +RSpec/RepeatedExampleGroupBody: + Enabled: true + RSpec/ScatteredLet: Enabled: true diff --git a/spec/models/topic_spec.rb b/spec/models/topic_spec.rb index 05d25587a..801e246c1 100644 --- a/spec/models/topic_spec.rb +++ b/spec/models/topic_spec.rb @@ -68,8 +68,4 @@ describe Topic do expect(results).to eq [topic1, topic2, topic3] end end - - describe "notifications" do - it_behaves_like "notifiable" - end end