0
0
Fork 0

Fabricator specs (#23925)

This commit is contained in:
Matt Jankowski 2023-03-04 11:12:09 -05:00 committed by GitHub
parent c40d5e5a8f
commit cd99fa8ceb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 27 additions and 183 deletions

View file

@ -704,12 +704,6 @@ RSpec.describe Account, type: :model do
end
describe 'validations' do
it 'has a valid fabricator' do
account = Fabricate.build(:account)
account.valid?
expect(account).to be_valid
end
it 'is invalid without a username' do
account = Fabricate.build(:account, username: nil)
account.valid?