1
0

tombstone_spec.rb 309 B

123456789101112131415
  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. RSpec.describe Tombstone do
  4. describe 'Associations' do
  5. it { is_expected.to belong_to(:account).required }
  6. end
  7. describe 'Validations' do
  8. subject { Fabricate.build :tombstone }
  9. it { is_expected.to validate_presence_of(:uri) }
  10. end
  11. end