Stop validating factories in specs

We do validate all of them in a before(:suite) already.
This commit is contained in:
Henne Vogelsang 2021-08-18 13:14:44 +02:00
parent 86b2bd426a
commit 0104671e01
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
20 changed files with 0 additions and 104 deletions

View file

@ -12,10 +12,6 @@ describe EventSchedule do
end
describe 'validation' do
it 'has a valid factory' do
expect(build(:event_schedule)).to be_valid
end
it { is_expected.to validate_presence_of(:schedule) }
it { is_expected.to validate_presence_of(:event) }
it { is_expected.to validate_presence_of(:room) }