Unlint Rspec/DescibeClass #BetterPlace

This commit is contained in:
James Mason 2018-10-23 19:31:46 -07:00
parent 2785c3ab6d
commit 8b12b1662d
4 changed files with 8 additions and 10 deletions

View file

@ -20,3 +20,9 @@ Rails:
FactoryBot/AttributeDefinedStatically:
Enabled: true
RSpec/DescribeClass:
Exclude:
- "spec/views/**/*"
- "spec/ability/*"

View file

@ -522,14 +522,6 @@ RSpec/AnyInstance:
RSpec/ContextWording:
Enabled: false
# Offense count: 4
RSpec/DescribeClass:
Exclude:
- 'spec/ability/ability_spec.rb'
- 'spec/models/admin_ability_spec.rb'
- 'spec/models/booth_spec.rb'
- 'spec/models/registration_spec.rb'
# Offense count: 73
# Cop supports --auto-correct.
# Configuration parameters: SkipBlocks, EnforcedStyle.

View file

@ -2,7 +2,7 @@
require 'spec_helper'
describe 'Booth' do
describe Booth do
subject { create(:booth) }
let!(:conference) { create(:conference) }

View file

@ -2,7 +2,7 @@
require 'spec_helper'
describe 'Registration' do
describe Registration do
subject { create(:registration) }
let!(:user) { create(:user) }
let!(:conference) { create(:conference) }