diff options
author | Matt Jankowski <matt@jankowski.online> | 2023-03-04 11:12:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-04 17:12:09 +0100 |
commit | cd99fa8cebc6efa059b4fca743d517c88f8d9686 (patch) | |
tree | c5abb6d00b2ac0245d58f017c125049be66cc04c /spec/models/block_spec.rb | |
parent | c40d5e5a8fb02f2c603a23a1b0130b3f86a15710 (diff) |
Fabricator specs (#23925)
Diffstat (limited to 'spec/models/block_spec.rb')
-rw-r--r-- | spec/models/block_spec.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/models/block_spec.rb b/spec/models/block_spec.rb index 64c39fce6..6e31786d0 100644 --- a/spec/models/block_spec.rb +++ b/spec/models/block_spec.rb @@ -4,11 +4,6 @@ require 'rails_helper' RSpec.describe Block, type: :model do describe 'validations' do - it 'has a valid fabricator' do - block = Fabricate.build(:block) - expect(block).to be_valid - end - it 'is invalid without an account' do block = Fabricate.build(:block, account: nil) block.valid? |