You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expect{DependentReportCard.find(r.id)}.toraise_error(Mongoid::Errors::DocumentNotFound,/Document\(s\) not found for class DependentReportCard with id\(s\)/)
77
77
end
78
78
79
79
it'facilitates proper transitive destroying of the object'do
@@ -84,7 +84,7 @@ class DependentCollegeUser < DependentUser; end
expect{DependentReportCard.find(r.id)}.toraise_error(Mongoid::Errors::DocumentNotFound,/Document\(s\) not found for class DependentReportCard with id\(s\)/)
88
88
end
89
89
90
90
it'adds the dependent to subclasses'do
@@ -105,7 +105,7 @@ class DependentCollegeUser < DependentUser; end
expect{DependentReportCard.find(r.id)}.toraise_error(Mongoid::Errors::DocumentNotFound,/Document\(s\) not found for class DependentReportCard with id\(s\)/)
109
109
end
110
110
111
111
it"doesn't add the dependent to sibling classes"do
0 commit comments