Unlint Rspec/DescibeClass #BetterPlace
This commit is contained in:
parent
2785c3ab6d
commit
8b12b1662d
4 changed files with 8 additions and 10 deletions
|
|
@ -20,3 +20,9 @@ Rails:
|
||||||
|
|
||||||
FactoryBot/AttributeDefinedStatically:
|
FactoryBot/AttributeDefinedStatically:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
|
||||||
|
RSpec/DescribeClass:
|
||||||
|
Exclude:
|
||||||
|
- "spec/views/**/*"
|
||||||
|
- "spec/ability/*"
|
||||||
|
|
|
||||||
|
|
@ -522,14 +522,6 @@ RSpec/AnyInstance:
|
||||||
RSpec/ContextWording:
|
RSpec/ContextWording:
|
||||||
Enabled: false
|
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
|
# Offense count: 73
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
# Configuration parameters: SkipBlocks, EnforcedStyle.
|
# Configuration parameters: SkipBlocks, EnforcedStyle.
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'Booth' do
|
describe Booth do
|
||||||
subject { create(:booth) }
|
subject { create(:booth) }
|
||||||
let!(:conference) { create(:conference) }
|
let!(:conference) { create(:conference) }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'Registration' do
|
describe Registration do
|
||||||
subject { create(:registration) }
|
subject { create(:registration) }
|
||||||
let!(:user) { create(:user) }
|
let!(:user) { create(:user) }
|
||||||
let!(:conference) { create(:conference) }
|
let!(:conference) { create(:conference) }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue