1
0
Fork 0

Improve spec

This commit is contained in:
Alex Kotov 2019-07-20 15:10:52 +05:00
parent daff5c290a
commit 9197d3df40
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -48,15 +48,13 @@ RSpec.describe Account do
it { is_expected.not_to validate_presence_of :person }
end
describe '#contacts_list' do
xit { is_expected.to belong_to(:contacts_list).required }
end
describe '#contacts_list' do
def allow_value(*)
super.for :contacts_list
end
xit { is_expected.to belong_to(:contacts_list).required }
context 'for usual account' do
subject { create :usual_account }