Stop validating factories in specs
We do validate all of them in a before(:suite) already.
This commit is contained in:
parent
86b2bd426a
commit
0104671e01
20 changed files with 0 additions and 104 deletions
|
|
@ -7,10 +7,6 @@ describe Booth do
|
|||
let!(:conference) { create(:conference) }
|
||||
|
||||
describe 'validation' do
|
||||
it 'has a valid factory' do
|
||||
expect(build(:booth)).to be_valid
|
||||
end
|
||||
|
||||
it { is_expected.to validate_presence_of(:reasoning) }
|
||||
it { is_expected.to validate_presence_of(:description) }
|
||||
it { is_expected.to validate_presence_of(:responsibles) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue