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
|
|
@ -86,6 +86,16 @@ describe User do
|
|||
user.should_receive(:remove_person)
|
||||
user.destroy
|
||||
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
|
||||
it 'should remove the person object' do
|
||||
|
|
|
|||
Loading…
Reference in a new issue