0
0
Fork 0

Remove duplicate fabricator validity checks (#29667)

This commit is contained in:
Matt Jankowski 2024-06-11 03:48:42 -04:00 committed by GitHub
parent 88cfc4056d
commit 1622f7aeb9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 13 deletions

View file

@ -31,14 +31,6 @@ describe Poll do
end
describe 'validations' do
context 'when valid' do
let(:poll) { Fabricate.build(:poll) }
it 'is valid with valid attributes' do
expect(poll).to be_valid
end
end
context 'when not valid' do
let(:poll) { Fabricate.build(:poll, expires_at: nil) }