Fabricator specs (#23925)
This commit is contained in:
parent
c40d5e5a8f
commit
cd99fa8ceb
37 changed files with 27 additions and 183 deletions
|
@ -3,13 +3,6 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe EmailDomainBlock, type: :model do
|
||||
describe 'validations' do
|
||||
it 'has a valid fabricator' do
|
||||
email_domain_block = Fabricate.build(:email_domain_block)
|
||||
expect(email_domain_block).to be_valid
|
||||
end
|
||||
end
|
||||
|
||||
describe 'block?' do
|
||||
let(:input) { nil }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue