added pending spec for aspect removal on account deletion
This commit is contained in:
parent
e1dd0cf6be
commit
adbc4dddbc
1 changed files with 10 additions and 0 deletions
|
|
@ -87,6 +87,16 @@ describe User do
|
||||||
user.destroy
|
user.destroy
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
it 'should remove all aspects' do
|
||||||
|
pending "this should use :dependant => :destroy on the many assoc...but that screws this test suite..."
|
||||||
|
aspects = user.aspects
|
||||||
|
user.destroy
|
||||||
|
proc{ aspects.reload }.should raise_error /does not exist/
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
describe '#remove_person' do
|
describe '#remove_person' do
|
||||||
it 'should remove the person object' do
|
it 'should remove the person object' do
|
||||||
person = user.person
|
person = user.person
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue