# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Account do
subject { create :account_with_user }
it do
is_expected.to \
have_one(:user)
.dependent(:restrict_with_exception)
end
have_many(:membership_applications)
have_many(:passport_confirmations)
it { is_expected.not_to validate_presence_of :user }