1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/spec/models/contacts_list_spec.rb
2019-07-20 15:07:02 +05:00

23 lines
420 B
Ruby

# frozen_string_literal: true
require 'rails_helper'
RSpec.describe ContactsList do
subject { create :empty_contacts_list }
describe '#account' do
it do
is_expected.to \
have_one(:account)
.dependent(:restrict_with_exception)
end
end
describe '#person' do
it do
is_expected.to \
have_one(:person)
.dependent(:restrict_with_exception)
end
end
end