Improve spec
This commit is contained in:
parent
daff5c290a
commit
9197d3df40
1 changed files with 2 additions and 4 deletions
|
@ -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 }
|
||||
|
||||
|
|
Reference in a new issue